You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Gnanaguru S <gn...@wipro.com> on 2013/04/04 06:56:14 UTC

Camel-AMQP connection factory

Hello,

I am trying to do a simple use case to test camel-amqp. Gladly activemq 5.8
has the support for AMQP. 

How can I specify the connection settings for connecting to ActiveMQ using
camel-amqp ?

Please find my route below, I think there should be a right way to configure
AMQP. 

  <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
    <route>
	<from uri="activemq1:queue:input" />
	<to uri="activemq2:queue:outamqp" />
	
	</route>
  </camelContext>

	<bean id="activemq2"
class="org.apache.activemq.camel.component.ActiveMQComponent">
		<property name="brokerURL" value="tcp://localhost:5672"/>
	</bean>

	* <bean id="activemq1"
class="org.apache.activemq.camel.component.ActiveMQComponent">
          <property name="brokerURL" value="tcp://localhost:61616"/>
    </bean>*

Regards
Guru
@gnanagurus



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-AMQP-connection-factory-tp5730305.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-AMQP connection factory

Posted by Christian Posta <ch...@gmail.com>.
Take a look at Qpid JMS and AMQConnectionFactory. Use that in your spring
context to configure the AMQP component.




On Mon, Jul 15, 2013 at 7:37 AM, Gnanaguru S <
gnanaguru.sattanathan@wipro.com> wrote:

> Hi,
>
> How can we specify the ActiveMQ connection factory for AMQ in Camel context
> ?
>
> AMQP using this url for connectivity: amqp://0.0.0.0:5672
>
> Regards
> Guru
> @gnanagurus
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-AMQP-connection-factory-tp5730305p5735662.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Re: Camel-AMQP connection factory

Posted by Gnanaguru S <gn...@wipro.com>.
Hi, 

How can we specify the ActiveMQ connection factory for AMQ in Camel context
?

AMQP using this url for connectivity: amqp://0.0.0.0:5672

Regards
Guru
@gnanagurus





--
View this message in context: http://camel.465427.n5.nabble.com/Camel-AMQP-connection-factory-tp5730305p5735662.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-AMQP connection factory

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

You need to use the amqp protocol. See this page
http://activemq.apache.org/amqp.html

On Thu, Apr 4, 2013 at 6:56 AM, Gnanaguru S
<gn...@wipro.com> wrote:
> Hello,
>
> I am trying to do a simple use case to test camel-amqp. Gladly activemq 5.8
> has the support for AMQP.
>
> How can I specify the connection settings for connecting to ActiveMQ using
> camel-amqp ?
>
> Please find my route below, I think there should be a right way to configure
> AMQP.
>
>   <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
>     <route>
>         <from uri="activemq1:queue:input" />
>         <to uri="activemq2:queue:outamqp" />
>
>         </route>
>   </camelContext>
>
>         <bean id="activemq2"
> class="org.apache.activemq.camel.component.ActiveMQComponent">
>                 <property name="brokerURL" value="tcp://localhost:5672"/>
>         </bean>
>
>         * <bean id="activemq1"
> class="org.apache.activemq.camel.component.ActiveMQComponent">
>           <property name="brokerURL" value="tcp://localhost:61616"/>
>     </bean>*
>
> Regards
> Guru
> @gnanagurus
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-AMQP-connection-factory-tp5730305.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen