ibm-messaging / kafka-connect-mq-source

This repository contains a Kafka Connect source connector for copying data from IBM MQ into Apache Kafka.
Apache License 2.0
93 stars 85 forks source link

🐛 [BUG] - When reading a message that contains RFH header no exception is being thrown #120

Open jeysanthoshs opened 11 months ago

jeysanthoshs commented 11 months ago

What happened?

When reading a message that contains RFH header no exception is being thrown.

Is there a way to consumer messages that contain RFH message in the header?

Steps To Reproduce

No response

Environment

- OS:
- Openshift:
- Kubernetes:

Anything else?

No response

Version

older (<1.3.4)

Relevant log output

No response

Code of Conduct

jhughes24816 commented 8 months ago

Hi @jeysanthoshs can you explain why you want an exception to be thrown in these circumstances? is this an enhancement you are after?

mamwl1 commented 8 months ago

As @jhughes24816 it would be good to understand more details of what is required here. MQ classes for JMS make use of RFH2 headers for messaging between a pair of JMS apps. In general they will hide the RFH2 header from the application, although there are configuration options will expose the RFH2 header to getting applications. MQ will never throw an exception if a message contains an RFH2 header as either the putting MQ native application put it there explicitly or it was put there by an MQ JMS application.