Thank you. So, I've added the consumerQueue attribute as you suggested:
<broker useJmx="true">
<persistenceAdapter>
<journaledJDBC journalLogFiles="5" dataDirectory="../activemq-
data"/>
</persistenceAdapter>
<transportConnectors>
<transportConnector name="default" uri="tcp://localhost:61616"
discoveryUri="multicast://default"/>
<transportConnector name="stomp" uri="stomp://localhost:
61613"/>
</transportConnectors>
<networkConnectors>
<!-- by default just auto discover the other brokers -->
<networkConnector name="default" uri="multicast://default"/>
</networkConnectors>
<jmsBridgeConnectors>
<jmsQueueConnector
outboundQueueConnectionFactory="#remoteFactory"
consumerQueue="#localQueue">
<outboundQueueBridges>
<outboundQueueBridge
outboundQueueName="[EMAIL PROTECTED]">
</outboundQueueBridge>
</outboundQueueBridges>
</jmsQueueConnector>
</jmsBridgeConnectors>
</broker>
<bean id="remoteFactory"
class="com.swiftmq.jms.ConnectionFactoryImpl">
<constructor-arg
value="com.swiftmq.net.PlainSocketFactory"/>
<constructor-arg value="localhost"/>
<constructor-arg value="4001"/>
<constructor-arg value="60000"/>
</bean>
<bean id="localQueue" class="org.apache.activemq.command.ActiveMQQueue">
<constructor-arg value="MyQueue"/>
</bean>
With this configuration, I still don't see messages on the SwiftMQ queue.
Here is the activemq.log output from when the message is posted to ActiveMQ:
2006-07-06 16:05:29,132 [/127.0.0.1:1590] DEBUG AbstractRegion
- Adding destination: queue://AgentScheduleQueue
2006-07-06 16:05:29,142 [/127.0.0.1:1590] DEBUG JournalPersistenceAdapter
- Waking for checkpoint to complete.
2006-07-06 16:05:29,142 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint started.
2006-07-06 16:05:29,152 [eckpoint Worker] DEBUG JournalPersistenceAdapter
- Checkpoint done.
2006-07-06 16:05:29,202 [/127.0.0.1:1590] DEBUG AbstractRegion
- Adding destination: topic://ActiveMQ.Advisory.Queue
2006-07-06 16:05:29,252 [/127.0.0.1:1590] DEBUG JournalMessageStore
- Journalled message add for: ID:rabil-g-xp-1589-1152216176532-1:0:1:1:1,
at: 0:14847
2006-07-06 16:05:29,252 [/127.0.0.1:1590] DEBUG MyQueue
- No subscriptions registered, will not dispatch message at this time.
>From this, it appears that it doesn't think there are any
consumers/subscribers for for the ActiveMQ "MyQueue" queue. Does the
activemq.xml configuration above look correct, or have I missed something?
Thank you very much for your assistance,
Greg
--
View this message in context:
http://www.nabble.com/JMS-to-JMS-Bridge-tf1901141.html#a5206829
Sent from the ActiveMQ - User forum at Nabble.com.