Thanks for the info and yes, I understand what you are saying.
Problem is that I cannot figure out how to build a HornetQ connection
factory.  After spending some time with HornetQ, it makes me
appreciate ActiveMQ more..  ;)


On Thu, Jun 9, 2011 at 10:47 AM, Torsten Mielke <tors...@fusesource.com> wrote:
> In the simplest form you could use a Camel route similar to this:
>
> <route id="amq-to-hornetmq-bridge">
>  <from uri="activemq:queue:TestQueue" />
>  <to uri="hornetmq:queue:TestQueue1" />
> </route>
>
> and also declare the two endpoints in your camel-context.xml:
>
> <bean id="activemq"
> class="org.apache.activemq.camel.component.ActiveMQComponent">
>  <property name="brokerURL" value="tcp://localhost:61616" />
>  <property name="brokerURL"
> value="vm://localhost?broker.persistent=false"/>
> </bean>
>
> <bean id="hornetmq" class="org.apache.camel.component.jms.JmsComponent">
>  <property name="connectionFactory" ref="hornetMQConnectionFactory"/>
> </bean>
>
> <bean class="org....hornetmq.PooledConnectionFactory"
> id="hornetMQConnectionFactory">
>  <property name="connectionURL..." value="...."/>
> </bean>
>
> Hope you get the idea.
>
>
> Torsten Mielke
> FuseSource
> tmielke.blogspot.com
>
>
>

Reply via email to