while starting wildfly 10.1 to work with artemis, jboss.ra.activemq-ra is not installed error persists

后端 未结 1 1697
旧巷少年郎
旧巷少年郎 2020-12-21 11:48

I try to apply appropriate configuration to be able to use remote messaging system on artemis server through wildfly (also other environment members) Firstly, i installed a

1条回答
  •  半阙折子戏
    2020-12-21 12:33

    Although I don't think my situation is really similar to what you're trying to achieve, it might prove useful as a comparison. (And since you asked for the details at JMS Bridge Between WildFly 10 Artemis and ActiveMQ 5.14 (ONCE_AND_ONLY_ONCE Quality of Service) I'll gladly postit here)

    In my case I am using the built-in WildFly Artemis server and then configuring a JMS bridge which does ONCE_AND_ONLY_ONCE delivery to a remote ActiveMQ server.

    Of course, you could potentially use a similar setup, but with Artemis as the remote server as well.

    Since my remote server is ActiveMQ my RA file is different to yours, but the config should be similar.

    Here's my DockerFile statements that copy and extract the RA in the correct location:

    COPY activemq-ra.zip /opt/platoon/wildfly/wildfly-10.1.0.Final/modules/system/layers/base/org/apache/activemq/activemq/ra/activemq-ra.zip
    WORKDIR /opt/platoon/wildfly/wildfly-10.1.0.Final/modules/system/layers/base/org/apache/activemq/activemq/ra
    RUN unzip activemq-ra.zip
    

    And here's the relevant section of my standalone-full.xml

        
            
                
                    
                
                
                
                
                    
                
                
                
                
                    
                    
                
                
                
                
                
                
                
                
                
                
                
                
            
            
                
                
            
        
    
        
            
                
            
                    XATransaction
                    
                        tcp://c3m-activemq:61616?jms.rmIdFromConnectionId=true
                    
                    
                        admin
                    
                    
                        false
                    
                    
                        admin
                    
                    
                        
                            
                                1
                                20
                                false
                                false
                            
                        
                    
                    
                        
                            
                                tcp://c3m-activemq:61616?jms.rmIdFromConnectionId=true
                            
                        
                        
                            
                                activemq/topic/TestTopic
                            
                        
                        
                            
                                activemq/queue/c3mMasterQueue
                            
                        
                        
                            
                                activemq/queue/bridgedTestQueue
                            
                        
                        
                            
                                activemq/queue/TestQueue
                            
                        
                    
                
            
        
    

    TAKE NOTE: I only edited the messaging-activemq and resource-adapters subsystems, i.e. I didn't touch any of the other sections (naming and socket-bindings) in standalone-full.xml like in your situation.

    Hope that helps

    Greg

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