activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From miki79 <mik...@gmail.com>
Subject JMS bridge with dynamic replayTo
Date Thu, 11 Mar 2010 21:15:43 GMT

I have activeMQ where I can connect with php to send and get messages, this
activeMQ has the function to be a bridge to another JMS providers, so I need
to setup activeMQ so I can send a message to a queue on activeMQ and it
forwards the message to the other JMS provider.

the other JMS provider should be a TIBCO (not sure yet) so I read this
http://activemq.apache.org/jms-bridge-with-remote-tibco-broker.html config,
but I don't understand the attribute 

[selector  = "JMSType LIKE 'foo%'"] no idea what I need to insert.

Anyway, it's a bit more complicated than just that because

I send a message to a queue, and the replyTo to a temporary queue, so it
means I send the message to a queue called QUEUE1 (and in the message there
is the name of the queue where send the reply), the application gets the
message from the QUEUE1 and send the response to the replayTo address, that
it's a temporary, so it's a dynamic name like TEMP_QUEUE1 (TEMP_QUEUE2,
TEMP_QUEUE3 etc) so from PHP I get the message from the temporary queue.


So PHP sends message (with replyTo JAVA_TEMP_QUEUE) to queue QUEUE1 -> the
message is on QUEUE1  activeMQ -> activeMQ sends the message to JAVA.QUEUE1
on the final JMS provider

JAVA APPLICATION -> gets message from JAVA.QUEUE1 from final JMS provider ->
sends response to  JAVA_TEMP_QUEUE (temporary Queue) -> activeMQ gets
message from final JMS provider from JAVA_TEMP_QUEUE and put on TEMP_QUEUE

PHP -> gets message from TEMP_QUEUE on activeMQ

Any idea how to do that?
-- 
View this message in context: http://old.nabble.com/JMS-bridge-with-dynamic-replayTo-tp27869961p27869961.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message