You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by kermitt <he...@genesys.com> on 2007/01/29 15:46:52 UTC

jms:endpoint vs JmsServiceComponent

I saw in the loan-broker example the use of
org.apache.servicemix.components.jms.JmsServiceComponent to handle JMS
request.
What is the difference with the jms:endpoint ?

Stupid question will lead me to the light :)

thx folks,


-- 
View this message in context: http://www.nabble.com/jms%3Aendpoint-vs-JmsServiceComponent-tf3136261s12049.html#a8690504
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: jms:endpoint vs JmsServiceComponent

Posted by Bruce Snyder <br...@gmail.com>.
On 1/29/07, Adrian Co <ac...@exist.com> wrote:
> I'm not entirely sure, but I think the JmsServiceComponent is the
> lightweight component, while the jms:endpoint is the endpoint deployed
> in the JMS BC.
>
> Difference is that the JMS endpoint is JBI compliant, while the
> lightweight component is not really JBI compliant. In general, I would
> advise using the JMS BC. :) The lightweight component just allows
> deploying of custom pojos, but if the component has a JBI compliant
> SE/BC available, I'd use that (way easier also). :)

Adrian is correct. The JmsServiceComponent is part of the JMS
lightweight component and the jms:endpoint is part of the
servicemix-jms JBI compliant component. The real point of importance
between the two is that lightweight components are ServiceMix specific
and not JBI compliant.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Re: jms:endpoint vs JmsServiceComponent

Posted by Adrian Co <ac...@exist.com>.
I'm not entirely sure, but I think the JmsServiceComponent is the 
lightweight component, while the jms:endpoint is the endpoint deployed 
in the JMS BC.

Difference is that the JMS endpoint is JBI compliant, while the 
lightweight component is not really JBI compliant. In general, I would 
advise using the JMS BC. :) The lightweight component just allows 
deploying of custom pojos, but if the component has a JBI compliant 
SE/BC available, I'd use that (way easier also). :)

kermitt wrote:
> I saw in the loan-broker example the use of
> org.apache.servicemix.components.jms.JmsServiceComponent to handle JMS
> request.
> What is the difference with the jms:endpoint ?
>
> Stupid question will lead me to the light :)
>
> thx folks,
>
>
>