Hi Tim,

We have a C# Compact Framework client and  java as the server side.
Assuming that the stomp broker(activemq ) should be running on both the
client and server what is the equivalent of running bin/activemq on the
client?

Regards,
Sujith




From:   "tabish...@gmail.com [via ActiveMQ]" <ml-node
            +s2283324n4656848...@n4.nabble.com>
To:     maximus <sujith.me...@oatsystems.com>
Date:   09/24/2012 07:14 PM
Subject:        Re: Connection Error to Apache



On Fri, 2012-09-21 at 02:59 -0700, sujithmenono wrote:

> Hi,
>
> I'm trying to write sample code for client/server communication using
> Apache.NMS.Stomp.
>
> Uri connecturi = new Uri("tcp://0.0.0.0:61616");
>
> Console.WriteLine("About to connect to " + connecturi);
>
> // NOTE: ensure the nmsprovider-activemq.config file exists in the
> executable folder.
> *IConnectionFactory factory =
> NMSConnectionFactory.CreateConnectionFactory(connecturi,null);
> *
> I get the following error while creating the connection factory.
> *
> "No IConnectionFactory implementation found for connection URI:
> tcp://0.0.0.0:61616/"*
>
> This is my setting in activemq.xml
> <transportConnectors>
>             <transportConnector name="default"
uri="tcp://0.0.0.0:61616"/>
>         </transportConnectors>
>

You have configured an openwire transport connector on port 61616.  You
need to configure a STOMP transport connector.

<transportConnector name="Stomp" uri="stomp://0.0.0.0:61613"/>

>
>
> --
> View this message in context:
http://activemq.2283324.n4.nabble.com/Connection-Error-to-Apache-tp4656810.html

> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

--
Tim Bish
Sr Software Engineer | FuseSource Corp
[hidden email] | www.fusesource.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/




If you reply to this email, your message will be added to the discussion
below:
http://activemq.2283324.n4.nabble.com/Connection-Error-to-Apache-tp4656810p4656848.html

To unsubscribe from Connection Error to Apache, click here.
NAML






--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Connection-Error-to-Apache-tp4656810p4656878.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to