On 10/18/07, kumar k <[EMAIL PROTECTED]> wrote:
> Thanks Bruce,
>   This doc tells me how can I receive a message published from weblogic in 
> service-mix jms consumer. But I want to receive a message published by 
> servicemix provider in weblogic. Don't I need to specify Service -Mix 
> properties in weblogic client? I want to know how do I do a lookup in this 
> case.

There are a couple of options here:

1) You could modify the conf/jndi.xml file to add an entry containing
a ActiveMQ connection factory to the util:map element and then perform
a JNDI lookup of this connection factory from the Weblogic JMS client
code. Then use this connection factory to perform all message
consumption from the queue in the ActiveMQ instance that is embedded
in ServiceMix.

2) Configure a JMS-to-JMS bridge via the conf/activemq.xml to bridge
to a queue in Weblogic and then just use Weblogic JMS semantics to
consume from the Weblogic queue. See the following for more info on
this solution:

http://activemq.apache.org/jms-to-jms-bridge.html

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/

Reply via email to