You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using smallrye-reactive-messaging-jms:3.22.1 to send messages to IBM MQ.
Unfortunately I have to change format type of the messages to "MQ". I haven't find any way how to change it by configuration in neither smallrye-reactive-messaging-jms nor com.ibm.mq.allclient.
I had to fork smallrye-reactive-messaging-jms and change source code in the JmsSink.java
After line 33: this.destination = getDestination(context, name, config.getDestinationType());
I have to added: ((MQQueue) destination).setTargetClient(WMQConstants.WMQ_CLIENT_NONJMS_MQ);
Forking project is very inconvenient. Do you have any idea to do it without fork? Any decorator, or alternative bean, ... ?
If we found a solution I would like to prepare pull request to publish changes to others.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am using smallrye-reactive-messaging-jms:3.22.1 to send messages to IBM MQ.
Unfortunately I have to change format type of the messages to "MQ". I haven't find any way how to change it by configuration in neither smallrye-reactive-messaging-jms nor com.ibm.mq.allclient.
I had to fork smallrye-reactive-messaging-jms and change source code in the JmsSink.java
After line 33:
this.destination = getDestination(context, name, config.getDestinationType());
I have to added:
((MQQueue) destination).setTargetClient(WMQConstants.WMQ_CLIENT_NONJMS_MQ);
Forking project is very inconvenient. Do you have any idea to do it without fork? Any decorator, or alternative bean, ... ?
If we found a solution I would like to prepare pull request to publish changes to others.
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions