Re: Newbie questions about camel redelivery vs AMQ redelivery

2020-02-08 Thread Jean-Baptiste Onofre
Hi, You can take a look on a blog I wrote about that: http://blog.nanthrax.net/?p=820 Generally speaking, I’m using Camel for short redelivery (temporary error). When I want « long » redelivery, I’m using ActiveMQ redelivery with scheduler, and in that case,

Re: Newbie questions on NMS or CMS ActiveMQ consumers puzzle

2010-09-01 Thread James Green
AIUI unless your client is operating in an "auto-ack" mode, the client must "ack" each message it consumes to remove it from the queue. This means that if you do not acknowledge the message, it will remain for the next client. Pretty simple and prevents a client reading a message then immediately

Re: Newbie questions on NMS or CMS ActiveMQ consumers puzzle

2010-09-01 Thread ChicagoBob123
Thanks for the feedback! I read this statement a couple of times from the link you sent and wondered if someone could elaborate further. "If a consumer receives a message and does not acknowledge it before closing " Closing what exactly? Closing the queue? The Session? The link also mention

Re: Newbie questions on NMS or CMS ActiveMQ consumers puzzle

2010-09-01 Thread Timothy Bish
On Wed, 2010-09-01 at 07:51 -0700, ChicagoBob123 wrote: > The problem I have 2 consumers of one queue and each consumer only seems to > get 1/2 the messages. > > Here is some my consumer code. > The concept is easy I browse the queue and remove any messages that belonged > to my application > ba

Re: Newbie Questions

2008-05-29 Thread VinT
I'm also a newbie and will working on a project in next couple of weeks that using Message Bus. I really needed a book or real world samples/tutorials that show me how to write jms apps using ActiveMQ + Message Bus + Tomcat. Can someone please post some examples or the links to the how-to tuto

Re: Newbie questions

2008-05-15 Thread j0llyr0g3r
Look in $AMQ_HOME/example -- View this message in context: http://www.nabble.com/Newbie-questions-tp17238878s2354p17252361.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Newbie questions

2008-05-14 Thread code.junkie
rajdavies wrote: > > Why not use transactions for the consumer ? - there maybe a marginal > improvement in performance - as it allows us to batch up the > acknowledgements back to the server. > Note of caution though - ensure the transaction boundary is smaller > than the prefetch size -

Re: Newbie questions

2008-05-14 Thread code.junkie
rajdavies wrote: > > Keeping to the JMS interface directly will give you more independence > - though things may be a little easier to get started if you use an > ActiveMQConnectionFactory directly. > However, instead of JNDI you could use Spring - see > http://activemq.apache.org/spring-su

Re: Newbie questions

2008-05-14 Thread Rob Davies
On 14 May 2008, at 20:18, code.junkie wrote: Hi All, I am planning to use ActiveMQ with a java project that I am working on. I am planning to use a queue with persisted for reliable messaging ( guaranteed messaging ). In that regard I have couple of questions for which I would love to

Re: Newbie Questions

2007-02-01 Thread James Strachan
On 1/26/07, saleem145 <[EMAIL PROTECTED]> wrote: Hello, I am trying to build a very simple finance application. I would like to use a message bus to broadcast stock prices. The publisher would connect to an exchange, get the prices and publish them onto the message bus. The subscribers would co