Search code examples
springspring-bootspring-websocketspring-messaging

Artemis support as StompBrokerRelay in Spring UserDestination


I was able to connect Artemis as StompBrokerRelay successfully but i had to use

config.setPathMatcher(new AntPathMatcher(".")); 

And all my queues start with

jms.queue.xxxx

When i tried to send private messages to users using the /user/ Destination it did not work and the reason for this is DefaultUserDestinationResolver as i described here in jira bug is hard coded to search for '/' and leave leading / so if i try sending to /user/xxxx/jms.queue.call it will be translated into /jms.queue.call while for it to work it should go to jms.queue.call

Is it possible to override the DefaultUserDestinationResolver used in AbstractMessageBrokerConfiguration


Solution

  • This has been fixed in version 4.3 RC1 per the above ticket