JBoss Community

Re: access queue from different servers

created by everson . in JBoss Messaging - View the full discussion

Hi, thanks to reply...

 

but how can I do that using message drive bean deployed on server A listening messages from server B ?

 

@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue") ,

                                    @ActivationConfigProperty(propertyName="destination", propertyValue="queue/EversonQueue") },

 

mappedName = "queue/EversonQueue")

public class MyMDB implements MessageListener {

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community