nats-io / nats-jms-bridge

NATS to JMS Bridge for request/reply
12 stars 3 forks source link

For NATS to MQ forward bridge, if we set header as below at NATS side then it throws “JMSCC0050: The property name 'JMSReplyTo' is reserved and cannot be set” #245

Open RichardHightower opened 4 years ago

RichardHightower commented 4 years ago

For NATS to MQ forward bridge, if we set header as below at NATS side then it throws “JMSCC0050: The property name 'JMSReplyTo' is reserved and cannot be set” error at bridge. So how can we pass this property to MQ side from NATS so that at MQ client side MQMD replyTOQueue will be populated? Also similar to previous use case, during reply (MQ to NATS flow), another forward bridge has to publish message to NATS by reading the replyToSubject header property dynamically. builder.withHeader("JMSReplyTo", "DEV.QUEUE.2");

RichardHightower commented 4 years ago

“JMSCC0050: The property name 'JMSReplyTo' is reserved and cannot be set”

gstaware commented 3 years ago

We are good to close this issue with above explanation.