On Fri, Feb 29, 2008 at 8:40 AM, Simone Maletta <[EMAIL PROTECTED]> wrote:
> Hi guys,
>     I've got a question: I'm using JMS transport to develope my work and I 
> need that only an instance of my process will be on listining on the queue 
> and that the queue  as lenght one.
>  May I obtain this using servicemix-jms settings deploying with the wsdl?

<jms:consumer concurrentConsumers="1" synchronous="true" ... />
Only a single JMS message will be processed in the bus at a given time.

>  May I also define a container-transaction with servicemix-jsr181 component?
>  And if this is possible, how I may do this?


If you want a transaction that also span on the JMS side, use:
<jms:consumer concurrentConsumers="1" synchronous="true" transaction="xa" ... />
The jsr181 call will be enlisted inside the transaction started by the
jms component.

>  Thank you for your time, regards
>  Simone



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to