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.

Reply via email to