Re: Equivalent of Tibco EMS FailSafe

2007-09-20 Thread tendlu
hanism - and the ability to sync > to disk for every write is usually a property of the Store used by > the broker. For amq 5.0 - the default store is the amq store - > where the property is syncOnWrite, default is off. > On Sep 21, 2007, at 12:44 AM, tendlu wrote: >

Re: Equivalent of Tibco EMS FailSafe

2007-09-20 Thread tendlu
James or Hiram? tendlu wrote: > > Tibco has a configuration to mark a queue "fail safe". This means the > messages for a "fail safe" queue is synchronously written to the disk. In > other words, no buffering is done for write (probably uses fsync -- that >

Equivalent of Tibco EMS FailSafe

2007-09-19 Thread tendlu
Tibco has a configuration to mark a queue "fail safe". This means the messages for a "fail safe" queue is synchronously written to the disk. In other words, no buffering is done for write (probably uses fsync -- that gaurantees the data is flushed to the disk). If the server goes down, no message

Re: Help! Missing messages in Multithreaded producer

2007-09-18 Thread tendlu
You are correct. The Session was shared among threads and it was a bug in the test case. A Session per thread solved the problem. Thanks a lot James. James.Strachan wrote: > > On 9/7/07, tendlu <[EMAIL PROTECTED]> wrote: >> Not all messages(persistent) to a queue are sen

Help! Missing messages in Multithreaded producer

2007-09-06 Thread tendlu
Not all messages(persistent) to a queue are sent to the broker if messages are sent from multiple threads. Each thread creates its own connection and session. Please let me know if I am missing something or is this a bug? -- View this message in context: http://www.nabble.com/Help%21-Missing-m

Re: Missing messages in multithreaded producer

2007-09-06 Thread tendlu
Any clues? tendlu wrote: > > Using ActiveMQ 4.1 > > I have a producer that does the following - > > 1. main thread creates a Connectionfactory using tcp > 2. creates a few threads - say 5 > 3. each thread creates a new Connection and a new Session using the > conne

Missing messages in multithreaded producer

2007-09-05 Thread tendlu
Using ActiveMQ 4.1 I have a producer that does the following - 1. main thread creates a Connectionfactory using tcp 2. creates a few threads - say 5 3. each thread creates a new Connection and a new Session using the connectionfactory created in the main thread. Session is created with auto-ack