JMS Bridge Between WildFly 10 Artemis and ActiveMQ 5.14 (ONCE_AND_ONLY_ONCE Quality of Service)

后端 未结 1 1823
难免孤独
难免孤独 2021-01-22 23:37

I\'m trying to set up a JMS Bridge between Artemis (Running in WildFly 10) and ActiveMQ 5.14

In general the process seems to work smoothly, but unfortunately I\'m gettin

1条回答
  •  猫巷女王i
    2021-01-23 00:08

    After posting this question I tried something that seems to have worked. Would still be interested to hear if this is the correct approach though.

    When looking at the ra.xml file in the resource adapter I noticed that it offers an additional connection factory as an admin object. So I added the following to the Resource Adapter definition in standalone-full.xml:

                        
                            
                                tcp://localhost:61616?jms.rmIdFromConnectionId=true
                            
                        
    

    Using this Connection Factory I then updated the JMS Bridge as follows:

            
                
                
            
    

    Now all seems to work well. Messages arrive on the ActiveMQ side and I'm not getting any issues in the WildFly log. Whoopwhoop

    0 讨论(0)
提交回复
热议问题