[jboss-jira] [JBoss JIRA] (WFWIP-149) Destination not created on remote Artemis broker
Emmanuel Hugonnet (Jira)
issues at jboss.org
Mon Sep 16 05:53:00 EDT 2019
[ https://issues.jboss.org/browse/WFWIP-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784553#comment-13784553 ]
Emmanuel Hugonnet commented on WFWIP-149:
-----------------------------------------
yes
> Destination not created on remote Artemis broker
> ------------------------------------------------
>
> Key: WFWIP-149
> URL: https://issues.jboss.org/browse/WFWIP-149
> Project: WildFly WIP
> Issue Type: Bug
> Components: JMS
> Reporter: Miroslav Novak
> Assignee: Emmanuel Hugonnet
> Priority: Blocker
>
> JMS Destination is not created on remote broker/cluster if activemq-ra resource adapter is configured to connect to it.
> Test scenario:
> * Start two servers in Artemis cluster (node-1, node-3)
> * Start one more server (node-2) which has configured activemq-ra with initial connectors to remote cluster (node-1, node-3)
> * Deploy MDB with to node-2 with:
> {code}
> @JMSConnectionFactoryDefinition(
> name="java:/jms/myRemoteJmsCf",
> resourceAdapter="activemq-ra")
> @JMSDestinationDefinitions({
> @JMSDestinationDefinition(
> name = "java:/jms/queue/myRemoteOutQueue",
> interfaceName = "javax.jms.Queue",
> resourceAdapter = "activemq-ra",
> destinationName = "myRemoteOutQueue"),
> @JMSDestinationDefinition(
> name = "java:/jms/queue/myRemoteInQueue",
> interfaceName = "javax.jms.Queue",
> resourceAdapter = "activemq-ra",
> destinationName = "myRemoteInQueue")
> })
> {code}
> ** MDB resends messages from myRemoteInQueue to myRemoteOutQueue (send using java:/jms/myRemoteJmsCf)
> * Deploy Servlet to node-2 which uses myRemoteJmsCf to send messages to myRemoteInQueue which are then processed by MDB and re-sent to myRemoteOutQueue
> Expected result: All messages will be in myRemoteOutQueue
> Actual result: No message was processed
> Investigation:
> Problem is that both of the queues were created on node-2 and not in remote artemis cluster (node-1,3)
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
More information about the jboss-jira
mailing list