Gareth,

Thanks for the input.  I tried your suggestion but still all is not well.

Perhaps I got something wrong.  Would you take a look and offer any correction?

I am trying to move message in one direction from a producer to a
consumer.  I have identical Karaf installations at both ends.

Thanks

Producer Blueprint:

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";>
        <transportConnectors>
                <transportConnector name="openwire" uri="tcp://localhost:61616" 
/>
                <transportConnector name="openwire remote" 
uri="tcp://producer_ip:61616" />
        </transportConnectors>
        <bean id="jms" 
class="org.apache.activemq.camel.component.ActiveMQComponent">
                <property name="brokerURL" value="tcp://localhost:61616" />
        </bean>
        <camelContext xmlns="http://camel.apache.org/schema/blueprint";>
                <route>
                        <from uri="timer:test?period=5000" />
                        <setBody>
                                <constant>Ave Mundus!!</constant>
                        </setBody>
                        <to uri="jms:queue:ave" />
                        <to uri="stream:out" />
                </route>
        </camelContext>
</blueprint>
***********************************
Consumer Blueprint:

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";>
        <transportConnectors>
                <transportConnector name="openwire remote" 
uri="tcp://producer_ip:61616" />
        </transportConnectors>
        <bean id="jms" 
class="org.apache.activemq.camel.component.ActiveMQComponent">
                <property name="brokerURL" value="tcp://producer_ip:61616" />
        </bean>
        <camelContext xmlns="http://camel.apache.org/schema/blueprint";>
                <route autoStartup="true">
                        <from uri="jms:queue:ave" />
                        <to uri="stream:out" />
                </route>
        </camelContext>
</blueprint>

On 13 September 2011 22:25, Gareth <[email protected]> wrote:
> Geoffry,
>
> Do this in your activemq blueprint config (or equivalent):
>
>        <transportConnectors>
>            <transportConnector name="openwire"
> uri="tcp://localhost:61616"/>
>  >>> add this line >>>  &lt;transportConnector name=&quot;openwire
> remote&quot; uri=&quot;tcp://&lt;server ip&gt;:61616"/>
>        </transportConnectors>
>
> I believe the "tcp://localhost:61616" means it will only listen for local
> connections. You need to explicitly tell it to listen to 61616 on each
> interface IP address (I found this out a few days ago myself :)).
>
> regards,
> Gareth
>
>
>
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/ActiveMq-Listening-on-tcp6-tp3334296p3334941.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 
Geoffry Roberts

Reply via email to