You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Gert Vanthienen <ge...@skynet.be> on 2007/05/07 14:05:31 UTC

jms:endpoint role="consumer" versus jms:consumer

L.S.,

While I was trying to get automatic reconnect to a JMS broker (WebSphere 
MQ which is restarted at least once per week) up and running with 
<jms:endpoint role="consumer"/>, I noticed the possibility of using 
<jms:consumer /> to specify JMS message receiving into the ESB.  The 
<jms:consumer /> uses Spring's DefaultMessageListenerContainer class, 
which provides the auto-reconnect behavior I was looking for. 

My question: why isn't this syntax specified in any of the docs or used 
in any of the archetypes?  Is the <jms:consumer /> deprecated or is the 
documentation incomplete?

Regards,

Gert

Re: jms:endpoint role="consumer" versus jms:consumer

Posted by Guillaume Nodet <gn...@gmail.com>.
Yeah, the documentation has not been updated yet.
The jms:consumer and jms:provider endpoints are quite new
but they have much more options to configure them.  I have made
some load tests with them and it seems they work pretty well.

On 5/7/07, Gert Vanthienen <ge...@skynet.be> wrote:
>
> L.S.,
>
> While I was trying to get automatic reconnect to a JMS broker (WebSphere
> MQ which is restarted at least once per week) up and running with
> <jms:endpoint role="consumer"/>, I noticed the possibility of using
> <jms:consumer /> to specify JMS message receiving into the ESB.  The
> <jms:consumer /> uses Spring's DefaultMessageListenerContainer class,
> which provides the auto-reconnect behavior I was looking for.
>
> My question: why isn't this syntax specified in any of the docs or used
> in any of the archetypes?  Is the <jms:consumer /> deprecated or is the
> documentation incomplete?
>
> Regards,
>
> Gert
>



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

Re: jms:endpoint role="consumer" versus jms:consumer

Posted by Thomas TERMIN <tt...@blue-elephant-systems.com>.
Gert,

I guess the latter. Look at SM-537. This is also available for http but
not yet finished.

Cheers,
Thomas

Gert Vanthienen wrote:
> L.S.,
> 
> While I was trying to get automatic reconnect to a JMS broker (WebSphere
> MQ which is restarted at least once per week) up and running with
> <jms:endpoint role="consumer"/>, I noticed the possibility of using
> <jms:consumer /> to specify JMS message receiving into the ESB.  The
> <jms:consumer /> uses Spring's DefaultMessageListenerContainer class,
> which provides the auto-reconnect behavior I was looking for.
> My question: why isn't this syntax specified in any of the docs or used
> in any of the archetypes?  Is the <jms:consumer /> deprecated or is the
> documentation incomplete?
> 
> Regards,
> 
> Gert
> 


-- 
Thomas Termin
_______________________________
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel    :  (+49) 0711 - 45 10 17 676
Fax    :  (+49) 0711 - 45 10 17 573
WWW    :  http://www.blue-elephant-systems.com
Email  :  Thomas.Termin@blue-elephant-systems.com

blue elephant systems GmbH
Firmensitz      : Wollgrasweg 49, D-70599 Stuttgart
Registergericht : Amtsgericht Stuttgart, HRB 24106
Geschäftsführer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle