- 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.
- Red Hat JBoss Fuse
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.