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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.