Try setting the processorName="standard" xml attribute on
your <jms:endpoint /> element.  It will use a single thread
to poll and process JMS messages.

On 10/17/06, Anders Hammar <[EMAIL PROTECTED]> wrote:

For my scenario, I can't have concurrent processing of messages on a JMS
queue, but I need to process the messages one by one. Simplified, my
scenario is to read a messages from JMS, convert it to a specific xml
format, send it to a http destination and handle the response. When this is
all done I could process the next message.

I've read somewhere in this forum that I need to "manually" poll the JMS
queue (not use the onMessage() functionality), but I can't figure out how.
Should I still use the JMS binding component? Could anyone please give me
some pointers as I'm lost.

Thanks,
/A
--
View this message in context: 
http://www.nabble.com/How-to-poll-JMS-%28single-thread%29-tf2457456.html#a6849183
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to