Thanks,
now it works.
Grzegorz
Teemu Torma <[EMAIL PROTECTED]> schrieb:
> On Saturday 03 March 2007 15:26, [EMAIL PROTECTED] wrote:
> > cout << "create connection" << endl;
> > auto_ptr conn(factory->createConnection());
>
> You need to start the connection too, i.e., conn->start ();
>
>
On Saturday 03 March 2007 15:26, [EMAIL PROTECTED] wrote:
> cout << "create connection" << endl;
> auto_ptr conn(factory->createConnection());
You need to start the connection too, i.e., conn->start ();
Teemu
re
that you are letting the C++ consumer start and connect before the Java
producer sends its messages.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 03, 2007 8:59 AM
To: users@activemq.apache.org
Cc: Timothy Bish
Subject: RE: Java Pro
you are letting the C++ consumer start and connect before the Java
> producer sends its messages.
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, March 03, 2007 8:59 AM
> > To: users@activemq.apache.org
>
3, 2007 8:59 AM
> To: users@activemq.apache.org
> Cc: Timothy Bish
> Subject: RE: Java Producer and C++ Consumer
> Importance: High
>
> Hi,
>
> my C++ client is connected to tcp://localhost:61613.
> Of course I have tried the Java Producer with the URL
> tcp://localh
Hi,
my C++ client is connected to tcp://localhost:61613.
Of course I have tried the Java Producer with the URL tcp://localhost:61616 and
the messages were created.
My problem is that the C++ Consumer did not received anything (but is
successfully connected to the queue TEST.FOO).
If I start a Ja
The Java Producer should probably be using tcp://localhost:61616 as its url,
as that is the default for the openwire transport connector in the broker.
The C++ client would connect to tcp://localhost:61613 assuming that you have
the default stomp settings the same in your broker's configuration.