<div dir="ltr">I posted this same question on the VMWare forum:&nbsp;<a href="https://communities.vmware.com/thread/457362">https://communities.vmware.com/thread/457362</a>. I am not sure what the best community to use for questions. So I'm copying and pasting that question here.&nbsp;<br><div><br></div><div><section class="j-original-message" style="border: 0px none; font-family: proxima-nova, Arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px 0px 32px; padding: 0px; vertical-align: baseline; color: rgb(102, 102, 102);"><div class="jive-rendered-content" style="border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; line-height: inherit; overflow-x: auto; overflow-y: hidden;"><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card. I have tested with both 1.0.3 and 1.0.5 clients with RabbitMQ 3.1.5.</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">I was wondering if the community was aware of this problem and if there are any workarounds? If not what is the proper channel to file a bug report. An example code snippet is below. The test fails because the TextMessageMatcher expects the destination passed in on construction (second parameter) to equal the desination on the message received (aquired from getJMSDestination).</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mockery context = new Mockery();</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final MessageListener messageListener = context.mock(MessageListener.class);</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final Latch latch = new LatchImpl();</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final String prefix = "test" + System.currentTimeMillis();</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; context.checking(new Expectations() {</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oneOf(messageListener).onMessage(with(new TextMessageMatcher("MSG1", prefix + ".1234")));</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; will(new CustomAction("release latch") {</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @Override</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public Object invoke(Invocation invocation) throws Throwable {</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; latch.unlatch();</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return null;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; });</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; });</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final Connection connection = createConnection(null, null);</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; connection.start();</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Topic wildcardTopic = (Topic) getInitialContext().lookup(prefix + "." + "#");</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Topic destination = (Topic) getInitialContext().lookup(prefix + ".1234");</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final MessageConsumer consumer = session.createConsumer(wildcardTopic);</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; consumer.setMessageListener(messageListener);</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MessageProducer producer = session.createProducer(null);</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; producer.send(destination, session.createTextMessage("MSG1"));</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; latch.await(5000);</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; connection.close();</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thread.sleep(5);</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; min-height: 8pt; height: 8pt;">&nbsp;</p><p style="margin: 2px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; context.assertIsSatisfied();</p></div><div id="j-answer-rollup" style="margin-top: 35px; margin-bottom: 12px; border-style: none; outline: 0px; font-style: inherit; font-size: inherit; font-family: inherit; font-variant: inherit; line-height: inherit; min-height: 0px; position: relative;"></div></section><footer style="border: 0px none; font-family: proxima-nova, Arial, sans-serif; font-size: 0.9em; line-height: inherit; margin: 24px 0px 0px; padding: 0px; vertical-align: baseline; min-height: 0px; color: rgb(102, 102, 102);"><ul class="clearfix" style="margin: 6px 0px 0px; padding: 6px 0px; border-width: 1px 0px 0px; border-top-style: solid; border-top-color: rgb(235, 235, 235); outline: 0px; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline; min-height: 0px; list-style: none; text-align: right;"></ul></footer></div></div>