camel-netty with Apache NMS client in Fuse

Solution Unverified - Updated -

Issue

  • How can we configure the Apache NMS client with camel-netty component ?
  • We have some issues in Request Reply configurations in our client application. Below are the configurations of the NMS client,
Activeqmq.xml:
<topic physicalName="topic1"/>
<queue physicalName="queue1"/>
<topic physicalName="reply1"/>
<topic physicalName="error1"/>

  • Camel routing:
<route>
        <from uri="jms:topic:topic1"/>
        <to uri="jms:queue:queue1"/>
</route>
  • In the NMS client we are setting below properties,
mapMessage.NMSReplyTo = message.ReplyTo.ToDestination();
mapMessage.Properties.SetString("errorToName", message.ErrorTo.Name);
                mapMessage.Properties.SetBool("errorToIsQueue", message.ErrorTo.IsQueue);

and publishing a messages to topic1. mapMessage is a variable of type IMapMessage. Though message is being routed from topic1 to queue1, but getting a timeout error where we are expecting a message on reply1 topic.

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • camel-neety

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content