You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by satishbhuria <sa...@gmail.com> on 2017/01/09 06:21:08 UTC
Camel azure service bus queue
Hi Team,
I am working on a project where i have to access azure service bus queue and
read write message to queue.
I have written camel route for the same but is giving me error below.
org.springframework.jms.UncategorizedJmsException: Uncategorized exception
occured during JMS processing; nested exception is javax.jms.JMSException:
Failed to create connection to: amqp://dummy-queue; nested exception is
io.netty.channel.ConnectTimeoutException: connection timed out
Let me where i am wrong.
Below is the code i have put in my project for configuration of jms
connection factory
<bean id="jmsConnectionFactory"
class="org.apache.qpid.jms.JmsConnectionFactory">
<property name="remoteURI" value="amqp://${service_bus.uri}" />
<property name="username" value="${service_bus.username}" />
<property name="password" value="${service_bus.password}" />
<property name="receiveLocalOnly" value="true" />
</bean>
<bean id="jmsConfig"
class="org.apache.camel.component.jms.JmsConfiguration" >
<property name="connectionFactory" ref="jmsConnectionFactory" />
<property name="cacheLevelName" value="CACHE_AUTO" />
</bean>
<bean id="amqp" class="org.apache.camel.component.amqp.AMQPComponent">
<property name="configuration" ref="jmsConfig" />
</bean>
and other things are configured in configure method.
Thanks
satish
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-azure-service-bus-queue-tp5792289.html
Sent from the Camel Development mailing list archive at Nabble.com.
Re: Camel azure service bus queue
Posted by Pontus Ullgren <ul...@gmail.com>.
Please use the users mailing list[1] for this type of questions.
The dev mailing list is for development of Camel not developing WITH Camel.
As a incitement if you post the question to the user mailinglist I do have
an answer for you :-)
[1] http://camel.465427.n5.nabble.com/Camel-Users-f465428.html
On Mon, 9 Jan 2017 at 09:04 satishbhuria <sa...@gmail.com> wrote:
> Hi Team,
>
> I am working on a project where i have to access azure service bus queue
> and
> read write message to queue.
>
> I have written camel route for the same but is giving me error below.
>
> org.springframework.jms.UncategorizedJmsException: Uncategorized exception
> occured during JMS processing; nested exception is javax.jms.JMSException:
> Failed to create connection to: amqp://dummy-queue; nested exception is
> io.netty.channel.ConnectTimeoutException: connection timed out
>
> Let me where i am wrong.
>
> Below is the code i have put in my project for configuration of jms
> connection factory
>
> <bean id="jmsConnectionFactory"
> class="org.apache.qpid.jms.JmsConnectionFactory">
> <property name="remoteURI" value="amqp://${service_bus.uri}" />
> <property name="username" value="${service_bus.username}" />
> <property name="password" value="${service_bus.password}" />
> <property name="receiveLocalOnly" value="true" />
> </bean>
>
> <bean id="jmsConfig"
> class="org.apache.camel.component.jms.JmsConfiguration" >
> <property name="connectionFactory" ref="jmsConnectionFactory" />
> <property name="cacheLevelName" value="CACHE_AUTO" />
> </bean>
> <bean id="amqp" class="org.apache.camel.component.amqp.AMQPComponent">
> <property name="configuration" ref="jmsConfig" />
> </bean>
>
> and other things are configured in configure method.
>
> Thanks
>
> satish
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-azure-service-bus-queue-tp5792289.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>