camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject Difference between ActiveMQComponent & JmsComponent
Date Fri, 24 Oct 2008 13:25:21 GMT

Hi,

I would to know if there is a difference between the two following
components ?

<bean id="jms"
class="org.apache.activemq.camel.component.ActiveMQComponent">
    <property name="brokerURL"
	          value="vm://localhost:61616?broker.persistent=true" />
</bean>

<bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
     <property name="connectionFactory">
	<bean class="org.apache.activemq.ActiveMQConnectionFactory">
        	<property name="brokerURL"
value="vm://localhost:61616?broker.persistent=false" />
	</bean>
	</property>
</bean>

When working with ActiveMQ queuing engine, which component should I use
ActiveMQcomponent or JMScomponent ?

KR,

Charles Moulliard

-----
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : cmoulliard@xpectis.com
web site :  www.xpectis.com www.xpectis.com 
My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://www.nabble.com/Difference-between-ActiveMQComponent---JmsComponent-tp20150066s22882p20150066.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message