English 中文(简体)
剂量是指变态参数,即电离层(甲型异构体、内 acknowledge)
原标题:what dose the transacted parameter means of QueueConnection.createQueueSession(boolean transacted, int acknowledgeMode)

in JMS API, we ve below method QueueConnection.createQueueSession(boolean transacted, int acknowledgeMode)

I m wondering what exactly does the transacted parameter means? I know when set it as true, we need to call QueueSession.commit() method after finish sending or receiving, but how about set it to false? does this means the sending/receiving operations is not trustable? or it s still ok?, if it s still ok, then why do we need to difference the cases?

or set it to true is only for cases that we need to put multiple messages in one transaction? thx.

问题回答

第1项参数表明,QuueSession是否是穿透的。 真实价值表明,会议是实际的,也就是说,在QuueSession援引承付方法之前,不会向接收人发送在QuueSession一生中发出的电文。 同样,在QuueSession上采用滚动办法,将消除在会议转稿期间发出的任何信息。

http://www2.sys-con.com/itsg/virtualcd/Java/archives/0604/chappell/index.html 贾瓦开发商《日刊》条款涵盖的范围相当广泛,特别是承认模式/时间变化的环境组合。





相关问题
c# stack queue combination

is there in C# some already defined generic container which can be used as Stack and as Queue at the same time? I just want to be able to append elements either to the end, or to the front of the ...

Packet Queue in Python?

is there any way to queue packets to a socket in Python? I ve been looking for something like the libipq library, but can t find anything equivalent. Here s what I m trying to accomplish: Create ...

Java Queue Merge, Beginner

I m trying to write a method that will take in two Queues (pre-sorted Linked Lists) and return the merged, in ascending order, resulting Queue object. I pasted the Queue class, the merge method ...

Efficient queue in Haskell

How can I efficiently implement a list data structure where I can have 2 views to the head and end of the list, that always point to a head a tail of a list without expensive calls to reverse. i.e: ...

Thread & Queue vs Serial performance

I though it ll be interesting to look at threads and queues, so I ve written 2 scripts, one will break a file up and encrypt each chunk in a thread, the other will do it serially. I m still very new ...

Insert into an STL queue using std::copy

I d like to use std::copy to insert elements into a queue like this: vector<int> v; v.push_back( 1 ); v.push_back( 2 ); queue<int> q; copy( v.begin(), v.end(), insert_iterator< queue&...

Threading in Ruby with a limit

I have a task I need to perform, do_stuff(opts), that will take ~1s each, even while 1 - 10 of them are running in parallel. I need to collect an array of the results for each operation at the end. ...

热门标签