We have a requirement to create a messaging bridge between Weblogic 8.1 and Active MQ(am using 5.2.0). I tried doing that using xbean. This is the activemq.xml used: <beans>
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/> <broker useJmx="true" xmlns="http://activemq.org/config/1.0"> <persistenceAdapter> <journaledJDBC journalLogFiles="5" dataDirectory="${activemq.home}/activemq-data"/> </persistenceAdapter> <transportConnectors> <transportConnector name="default" uri="tcp://localhost:61619" discoveryUri="multicast://default"/> <transportConnector name="stomp" uri="stomp://localhost:61618"/> </transportConnectors> <networkConnectors> <networkConnector name="default-nc" uri="multicast://default"/> </networkConnectors> <jmsBridgeConnectors> <jmsQueueConnector name="JreportRequestBridge-Inbound" jndiOutboundTemplate="#remoteJndi" outboundQueueConnectionFactoryName="testJMSConnectionFactory" localQueueConnectionFactory="#localFactory"> <inboundQueueBridges> <inboundQueueBridge inboundQueueName="TestQueue" localQueueName="TEST.FOO"/> </inboundQueueBridges> </jmsQueueConnector> </jmsBridgeConnectors> </broker> <!-- Set up the template for connecting to Weblogic --> <bean id="remoteJndi" class="org.springframework.jndi.JndiTemplate"> <property name="environment"> <props> <prop key="java.naming.factory.initial">weblogic.jndi.WLInitialContextFactory</prop> <prop key="java.naming.provider.url">t3://localhost:7001</prop> </props> </property> </bean> <bean id="localFactory" class="org.apache.activemq.ActiveMQConnectionFactory"> <property name="brokerURL" value="tcp://localhost:61619" /> </bean> <bean id="localQueue" class="org.apache.activemq.command.ActiveMQQueue"> <constructor-arg value="dynamic/jms.queue.jreport.request"/> </bean> </beans> Although the source queue in weblogic shows consumers, and the messages are consumed, i cannot see them in activemq queues. Is there anything am missing here? I feel i'm wrong in specifying the localqueuename, not sure though..... :( -- View this message in context: http://www.nabble.com/ActiveMQ-to-ActiveMQ-bridge-tp18337032p21251279.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
