JmsOutboundGateway correlation strategy #8555
Replies: 2 comments 4 replies
-
This correlation is used then in the selector for replies:
Therefore it is really a single prefix for all the messages emitted by this gateway with that incrementor for uniqueness. We may consider to expose that You can use a custom property for this correlation algorithm though:
This way the logic will remain the same, but it won't be set to the standard |
Beta Was this translation helpful? Give feedback.
-
Hi Artem. Best Regards |
Beta Was this translation helpful? Give feedback.
-
Hello,
This time I have some questions about correlation logic. I'm using SpringIntegration 5.5.15 and JmsOudboundGateway.
The default strategy is to use final gatewayCorrelation (UUID) concatenated with incrementing message number "_X".
I'm asking because for native IBM MQ provider the correlationID header is 24 bytes long.
If it's longer - it's being truncated by MQ specific solutions (Oracle Service Bus for example) and replies are not being matched.
This forces the use of custom JMS header for correlation and requires custom handling of those.
Best Regards
Robert
Beta Was this translation helpful? Give feedback.
All reactions