Re: openwire-cpp question

2006-04-25 Thread Hiram Chirino
Hi,

Just post your patch as an attachment to a new issuse here:
http://issues.apache.org/activemq/browse/AMQ

Thanks!
Hiram

On 4/25/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
> Hey Hiram,
>
> I made some updates to the STOMP C implementation, which will let it build on 
> Solaris Sun Workshop 6 and above compilers.
>
> Please let me know where you want me to post that client code.
>
> Once Openwire C++ client and CMS are stabilized I will try to do the same 
> with those too.
>
> Thanks!
>
> Vik
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino
> Sent: Wednesday, April 19, 2006 2:02 PM
> To: [email protected]
> Subject: Re: openwire-cpp question
>
> Just do a
>
> svn co svn://svn.stomp.codehaus.org/stomp/scm stomp
>
> And you'll find all the clients under there.
>
> On 4/19/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
> > Hi Hiram,
> >
> > Thanks for the heads up. Can you please tell me where I can find your 
> > updated c client?
> >
> > David: are you planning to incorporate these changes in your code soon?
> >
> > Thanks!
> >
> > Vik
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino
> > Sent: Wednesday, April 19, 2006 1:51 PM
> > To: [email protected]
> > Subject: Re: openwire-cpp question
> >
> > On 4/19/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
> > > Hey David,
> > >
> > > I was able to build this code on Sun Workshop 8, I had to put some OS 
> > > dependant condition checks, like you have for MACOS and have to modify 
> > > code a little bit here and there nothing major.
> > >
> > > I am able to run it with AMQ-RC2 but when I tried to run it with latest 
> > > SNAPSHOT (04/18) it was getting stuck after receiving BROKER_INFO command.
> > >
> >
> > Wireformat may have changed a little.. perhaps we need to regenerate
> > the openwire marshaller for c++
> >
> > > I am not sure if latest SNAPSHOT is having issues because I had the same 
> > > problem with the STOMP C client it was getting stuck after sending the 
> > > SUB command.
> > >
> >
> > There's been a small change to the stomp marshal ling.  Before we were
> > inconsistently adding \n after the \0 frame terminator.  So I changed
> > the activemq side to all ways consistently add the \n after the frame.
> >  It also expects frames that are sent to it to also have the \n.
> >
> > I could rollback the requirement for frames that it receive have a \n,
> > but I think it would be better if the stomp protocol was a bit more
> > consistent and just did things 1 way.  So this could be what has
> > broken some of the stomp clients.  I've updated the c and ruby ones so
> > that they work once again.
> >
> > > Thanks!
> > >
> > > Vik
> > >
> > > -Original Message-
> > > From: David Fahlander [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, April 19, 2006 5:03 AM
> > > To: [email protected]
> > > Subject: RE: openwire-cpp question
> > >
> > > This code compiles and runs on GCC 3, GCC 4 and Visual Studio 2005. We 
> > > have never tried to compile it with Sun compiler. The code is tested and 
> > > can communicate with text messages with the broker (as our test code 
> > > does).
> > >
> > > Hope to get the time to make the code compile with more C++ compilers as 
> > > soon as we get to a point where the code becomes complete.
> > >
> > > David
> > >
> > > -Original Message-
> > > From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> > > Sent: den 18 april 2006 23:37
> > > To: [email protected]
> > > Subject: RE: openwire-cpp question
> > >
> > > Hi David,
> > >
> > > I tried that code earlier and ran in to build issues, there are lots of 
> > > things in this code what Sun Compiler didn't liked. Is this code tested?
> > >
> > > Thanks!
> > >
> > > Vik
> > >
> > > -Original Message-
> > > From: David Fahlander [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, April 18, 2006 2:55 AM
> > > To: [email protected]
> > > Cc: Mats Forslöf
> > > Subject: RE: openwire-cpp question
> > >
> > >

RE: openwire-cpp question

2006-04-20 Thread Dhawan, Vikram \(LNG-DAY\)
Mats,

Where do you want me to post the changes? Please let me know.

Thanks!

Vik
-Original Message-
From: Mats Forslöf [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 20, 2006 3:50 AM
To: [email protected]
Subject: RE: openwire-cpp question

Hi Vik,

Just a quick note regarding the OpenWire C++ client; the client is a work in 
progress, it has not been released yet - so expect bugs! We're playing catch-up 
with the broker and the C#-client and we didn't have the information on the 
protocol change until now. We will of course update the client with any 
protocol changes but we cannot give you a time fram other than as soon as 
possible.

Can you please post the changes you had to make for compiling it on the Sun 
compiler, thanks.

Regards,
Mats

-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: den 19 april 2006 19:55
To: [email protected]
Subject: RE: openwire-cpp question

Hi Hiram, 

Thanks for the heads up. Can you please tell me where I can find your updated c 
client? 

David: are you planning to incorporate these changes in your code soon?

Thanks!

Vik

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino
Sent: Wednesday, April 19, 2006 1:51 PM
To: [email protected]
Subject: Re: openwire-cpp question

On 4/19/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
> Hey David,
>
> I was able to build this code on Sun Workshop 8, I had to put some OS 
> dependant condition checks, like you have for MACOS and have to modify code a 
> little bit here and there nothing major.
>
> I am able to run it with AMQ-RC2 but when I tried to run it with latest 
> SNAPSHOT (04/18) it was getting stuck after receiving BROKER_INFO command.
>

Wireformat may have changed a little.. perhaps we need to regenerate the 
openwire marshaller for c++

> I am not sure if latest SNAPSHOT is having issues because I had the same 
> problem with the STOMP C client it was getting stuck after sending the SUB 
> command.
>

There's been a small change to the stomp marshal ling.  Before we were 
inconsistently adding \n after the \0 frame terminator.  So I changed the 
activemq side to all ways consistently add the \n after the frame.
 It also expects frames that are sent to it to also have the \n.

I could rollback the requirement for frames that it receive have a \n, but I 
think it would be better if the stomp protocol was a bit more consistent and 
just did things 1 way.  So this could be what has broken some of the stomp 
clients.  I've updated the c and ruby ones so that they work once again.

> Thanks!
>
> Vik
>
> -Original Message-
> From: David Fahlander [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 19, 2006 5:03 AM
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> This code compiles and runs on GCC 3, GCC 4 and Visual Studio 2005. We have 
> never tried to compile it with Sun compiler. The code is tested and can 
> communicate with text messages with the broker (as our test code does).
>
> Hope to get the time to make the code compile with more C++ compilers as soon 
> as we get to a point where the code becomes complete.
>
> David
>
> -Original Message-
> From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> Sent: den 18 april 2006 23:37
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> Hi David,
>
> I tried that code earlier and ran in to build issues, there are lots of 
> things in this code what Sun Compiler didn't liked. Is this code tested?
>
> Thanks!
>
> Vik
>
> -Original Message-----
> From: David Fahlander [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 18, 2006 2:55 AM
> To: [email protected]
> Cc: Mats Forslöf
> Subject: RE: openwire-cpp question
>
> The latest code is of the openwire cpp client was uploaded as a jira patch at 
> http://issues.apache.org/activemq/browse/AMQ-656. The latest version is 
> called "source 060406.zip". It contains the full source tree as well as make 
> files and a test program.
>
> /David
>
> -Original Message-
> From: Mittler, Nathan [mailto:[EMAIL PROTECTED]
> Sent: den 17 april 2006 17:28
> To: [email protected]
> Cc: Mats Forslöf
> Subject: RE: openwire-cpp question
>
> Hi Mats,
> Is the code in svn your latest?  I remember you including unit tests 
> and makefiles at some point - did these get lost when the last patch 
> was applied?
>
>
> -Original Message-
> From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 17, 2006 11:08 AM
> To: [email protected]
> Subject: RE: openwire-cp

RE: openwire-cpp question

2006-04-19 Thread Dhawan, Vikram \(LNG-DAY\)
Hi Hiram,

I just finished testing 04/18 SNAPSHOT using your latest stomp c client code. I 
spitted this in to separate producer and consumer. 

Here are the observations:

1. If I have consumer running and produce messages it works fine now, not 
getting duplicate messages at consumer. 

2. If I queue up the messages (more then 10) and then start the consumer in a 
loop consumer don't get any of the stored messages. It behaves like there is no 
message in the queue. I m using MySQL as backend storage for messages. 

3. Every now and then I get following warning message on AMQ server console. 
"WARN  ManagedTransportConnection - Failed to unregister mbean: 
org.apache.activemq:BrokerName=localhost,Type=Connection,ConnectorName  
=stomp,Connection=ID_.com-33921-1145484700831- 3_23"

 
Thanks!
Vik

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino
Sent: Wednesday, April 19, 2006 2:02 PM
To: [email protected]
Subject: Re: openwire-cpp question

Just do a

svn co svn://svn.stomp.codehaus.org/stomp/scm stomp

And you'll find all the clients under there.

On 4/19/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
> Hi Hiram,
>
> Thanks for the heads up. Can you please tell me where I can find your updated 
> c client?
>
> David: are you planning to incorporate these changes in your code soon?
>
> Thanks!
>
> Vik
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino
> Sent: Wednesday, April 19, 2006 1:51 PM
> To: [email protected]
> Subject: Re: openwire-cpp question
>
> On 4/19/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
> > Hey David,
> >
> > I was able to build this code on Sun Workshop 8, I had to put some OS 
> > dependant condition checks, like you have for MACOS and have to modify code 
> > a little bit here and there nothing major.
> >
> > I am able to run it with AMQ-RC2 but when I tried to run it with latest 
> > SNAPSHOT (04/18) it was getting stuck after receiving BROKER_INFO command.
> >
>
> Wireformat may have changed a little.. perhaps we need to regenerate
> the openwire marshaller for c++
>
> > I am not sure if latest SNAPSHOT is having issues because I had the same 
> > problem with the STOMP C client it was getting stuck after sending the SUB 
> > command.
> >
>
> There's been a small change to the stomp marshal ling.  Before we were
> inconsistently adding \n after the \0 frame terminator.  So I changed
> the activemq side to all ways consistently add the \n after the frame.
>  It also expects frames that are sent to it to also have the \n.
>
> I could rollback the requirement for frames that it receive have a \n,
> but I think it would be better if the stomp protocol was a bit more
> consistent and just did things 1 way.  So this could be what has
> broken some of the stomp clients.  I've updated the c and ruby ones so
> that they work once again.
>
> > Thanks!
> >
> > Vik
> >
> > -Original Message-
> > From: David Fahlander [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, April 19, 2006 5:03 AM
> > To: [email protected]
> > Subject: RE: openwire-cpp question
> >
> > This code compiles and runs on GCC 3, GCC 4 and Visual Studio 2005. We have 
> > never tried to compile it with Sun compiler. The code is tested and can 
> > communicate with text messages with the broker (as our test code does).
> >
> > Hope to get the time to make the code compile with more C++ compilers as 
> > soon as we get to a point where the code becomes complete.
> >
> > David
> >
> > -Original Message-
> > From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> > Sent: den 18 april 2006 23:37
> > To: [email protected]
> > Subject: RE: openwire-cpp question
> >
> > Hi David,
> >
> > I tried that code earlier and ran in to build issues, there are lots of 
> > things in this code what Sun Compiler didn't liked. Is this code tested?
> >
> > Thanks!
> >
> > Vik
> >
> > -Original Message-
> > From: David Fahlander [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 18, 2006 2:55 AM
> > To: [email protected]
> > Cc: Mats Forslöf
> > Subject: RE: openwire-cpp question
> >
> > The latest code is of the openwire cpp client was uploaded as a jira patch 
> > at http://issues.apache.org/activemq/browse/AMQ-656. The latest version is 
> > called "source 060406.zip". It contains the full source t

Re: openwire-cpp question

2006-04-19 Thread Hiram Chirino
Just do a

svn co svn://svn.stomp.codehaus.org/stomp/scm stomp

And you'll find all the clients under there.

On 4/19/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
> Hi Hiram,
>
> Thanks for the heads up. Can you please tell me where I can find your updated 
> c client?
>
> David: are you planning to incorporate these changes in your code soon?
>
> Thanks!
>
> Vik
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino
> Sent: Wednesday, April 19, 2006 1:51 PM
> To: [email protected]
> Subject: Re: openwire-cpp question
>
> On 4/19/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
> > Hey David,
> >
> > I was able to build this code on Sun Workshop 8, I had to put some OS 
> > dependant condition checks, like you have for MACOS and have to modify code 
> > a little bit here and there nothing major.
> >
> > I am able to run it with AMQ-RC2 but when I tried to run it with latest 
> > SNAPSHOT (04/18) it was getting stuck after receiving BROKER_INFO command.
> >
>
> Wireformat may have changed a little.. perhaps we need to regenerate
> the openwire marshaller for c++
>
> > I am not sure if latest SNAPSHOT is having issues because I had the same 
> > problem with the STOMP C client it was getting stuck after sending the SUB 
> > command.
> >
>
> There's been a small change to the stomp marshal ling.  Before we were
> inconsistently adding \n after the \0 frame terminator.  So I changed
> the activemq side to all ways consistently add the \n after the frame.
>  It also expects frames that are sent to it to also have the \n.
>
> I could rollback the requirement for frames that it receive have a \n,
> but I think it would be better if the stomp protocol was a bit more
> consistent and just did things 1 way.  So this could be what has
> broken some of the stomp clients.  I've updated the c and ruby ones so
> that they work once again.
>
> > Thanks!
> >
> > Vik
> >
> > -Original Message-
> > From: David Fahlander [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, April 19, 2006 5:03 AM
> > To: [email protected]
> > Subject: RE: openwire-cpp question
> >
> > This code compiles and runs on GCC 3, GCC 4 and Visual Studio 2005. We have 
> > never tried to compile it with Sun compiler. The code is tested and can 
> > communicate with text messages with the broker (as our test code does).
> >
> > Hope to get the time to make the code compile with more C++ compilers as 
> > soon as we get to a point where the code becomes complete.
> >
> > David
> >
> > -Original Message-
> > From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> > Sent: den 18 april 2006 23:37
> > To: [email protected]
> > Subject: RE: openwire-cpp question
> >
> > Hi David,
> >
> > I tried that code earlier and ran in to build issues, there are lots of 
> > things in this code what Sun Compiler didn't liked. Is this code tested?
> >
> > Thanks!
> >
> > Vik
> >
> > -Original Message-
> > From: David Fahlander [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 18, 2006 2:55 AM
> > To: [email protected]
> > Cc: Mats Forslöf
> > Subject: RE: openwire-cpp question
> >
> > The latest code is of the openwire cpp client was uploaded as a jira patch 
> > at http://issues.apache.org/activemq/browse/AMQ-656. The latest version is 
> > called "source 060406.zip". It contains the full source tree as well as 
> > make files and a test program.
> >
> > /David
> >
> > -Original Message-
> > From: Mittler, Nathan [mailto:[EMAIL PROTECTED]
> > Sent: den 17 april 2006 17:28
> > To: [email protected]
> > Cc: Mats Forslöf
> > Subject: RE: openwire-cpp question
> >
> > Hi Mats,
> > Is the code in svn your latest?  I remember you including unit tests and
> > makefiles at some point - did these get lost when the last patch was
> > applied?
> >
> >
> > -Original Message-
> > From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> > Sent: Monday, April 17, 2006 11:08 AM
> > To: [email protected]
> > Subject: RE: openwire-cpp question
> >
> > There is no test stub either. I am wondering if someone ever tested it?
> >
> > Vik
> >
> > -Original Message-
> > From: Mittler, Nathan [mailto:[EMAIL PROTECTED]
> > Sent: Mon

RE: openwire-cpp question

2006-04-19 Thread Dhawan, Vikram \(LNG-DAY\)
Hi Hiram, 

Thanks for the heads up. Can you please tell me where I can find your updated c 
client? 

David: are you planning to incorporate these changes in your code soon?

Thanks!

Vik

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino
Sent: Wednesday, April 19, 2006 1:51 PM
To: [email protected]
Subject: Re: openwire-cpp question

On 4/19/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
> Hey David,
>
> I was able to build this code on Sun Workshop 8, I had to put some OS 
> dependant condition checks, like you have for MACOS and have to modify code a 
> little bit here and there nothing major.
>
> I am able to run it with AMQ-RC2 but when I tried to run it with latest 
> SNAPSHOT (04/18) it was getting stuck after receiving BROKER_INFO command.
>

Wireformat may have changed a little.. perhaps we need to regenerate
the openwire marshaller for c++

> I am not sure if latest SNAPSHOT is having issues because I had the same 
> problem with the STOMP C client it was getting stuck after sending the SUB 
> command.
>

There's been a small change to the stomp marshal ling.  Before we were
inconsistently adding \n after the \0 frame terminator.  So I changed
the activemq side to all ways consistently add the \n after the frame.
 It also expects frames that are sent to it to also have the \n.

I could rollback the requirement for frames that it receive have a \n,
but I think it would be better if the stomp protocol was a bit more
consistent and just did things 1 way.  So this could be what has
broken some of the stomp clients.  I've updated the c and ruby ones so
that they work once again.

> Thanks!
>
> Vik
>
> -Original Message-
> From: David Fahlander [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 19, 2006 5:03 AM
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> This code compiles and runs on GCC 3, GCC 4 and Visual Studio 2005. We have 
> never tried to compile it with Sun compiler. The code is tested and can 
> communicate with text messages with the broker (as our test code does).
>
> Hope to get the time to make the code compile with more C++ compilers as soon 
> as we get to a point where the code becomes complete.
>
> David
>
> -Original Message-
> From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> Sent: den 18 april 2006 23:37
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> Hi David,
>
> I tried that code earlier and ran in to build issues, there are lots of 
> things in this code what Sun Compiler didn't liked. Is this code tested?
>
> Thanks!
>
> Vik
>
> -Original Message-----
> From: David Fahlander [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 18, 2006 2:55 AM
> To: [email protected]
> Cc: Mats Forslöf
> Subject: RE: openwire-cpp question
>
> The latest code is of the openwire cpp client was uploaded as a jira patch at 
> http://issues.apache.org/activemq/browse/AMQ-656. The latest version is 
> called "source 060406.zip". It contains the full source tree as well as make 
> files and a test program.
>
> /David
>
> -Original Message-
> From: Mittler, Nathan [mailto:[EMAIL PROTECTED]
> Sent: den 17 april 2006 17:28
> To: [email protected]
> Cc: Mats Forslöf
> Subject: RE: openwire-cpp question
>
> Hi Mats,
> Is the code in svn your latest?  I remember you including unit tests and
> makefiles at some point - did these get lost when the last patch was
> applied?
>
>
> -Original Message-
> From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 17, 2006 11:08 AM
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> There is no test stub either. I am wondering if someone ever tested it?
>
> Vik
>
> -Original Message-
> From: Mittler, Nathan [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 17, 2006 11:01 AM
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> Hmm ... that surprises me - I know the openwire-cpp team had included
> makefiles in the past.  I believe the code should support linux,
> windows, & OSX.
>
> Does anyone know where the makefiles are?
>
> -Original Message-
> From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 17, 2006 10:08 AM
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> Hey Nate,
>
> I don't see any make file or something in there? Do you have any idea
> what O/S version and C++ complier this code recommends?
>
> Thanks!
>
> Vik
>
> ---

Re: openwire-cpp question

2006-04-19 Thread Hiram Chirino
On 4/19/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:
> Hey David,
>
> I was able to build this code on Sun Workshop 8, I had to put some OS 
> dependant condition checks, like you have for MACOS and have to modify code a 
> little bit here and there nothing major.
>
> I am able to run it with AMQ-RC2 but when I tried to run it with latest 
> SNAPSHOT (04/18) it was getting stuck after receiving BROKER_INFO command.
>

Wireformat may have changed a little.. perhaps we need to regenerate
the openwire marshaller for c++

> I am not sure if latest SNAPSHOT is having issues because I had the same 
> problem with the STOMP C client it was getting stuck after sending the SUB 
> command.
>

There's been a small change to the stomp marshal ling.  Before we were
inconsistently adding \n after the \0 frame terminator.  So I changed
the activemq side to all ways consistently add the \n after the frame.
 It also expects frames that are sent to it to also have the \n.

I could rollback the requirement for frames that it receive have a \n,
but I think it would be better if the stomp protocol was a bit more
consistent and just did things 1 way.  So this could be what has
broken some of the stomp clients.  I've updated the c and ruby ones so
that they work once again.

> Thanks!
>
> Vik
>
> -Original Message-
> From: David Fahlander [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 19, 2006 5:03 AM
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> This code compiles and runs on GCC 3, GCC 4 and Visual Studio 2005. We have 
> never tried to compile it with Sun compiler. The code is tested and can 
> communicate with text messages with the broker (as our test code does).
>
> Hope to get the time to make the code compile with more C++ compilers as soon 
> as we get to a point where the code becomes complete.
>
> David
>
> -Original Message-
> From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> Sent: den 18 april 2006 23:37
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> Hi David,
>
> I tried that code earlier and ran in to build issues, there are lots of 
> things in this code what Sun Compiler didn't liked. Is this code tested?
>
> Thanks!
>
> Vik
>
> -Original Message-----
> From: David Fahlander [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 18, 2006 2:55 AM
> To: [email protected]
> Cc: Mats Forslöf
> Subject: RE: openwire-cpp question
>
> The latest code is of the openwire cpp client was uploaded as a jira patch at 
> http://issues.apache.org/activemq/browse/AMQ-656. The latest version is 
> called "source 060406.zip". It contains the full source tree as well as make 
> files and a test program.
>
> /David
>
> -Original Message-
> From: Mittler, Nathan [mailto:[EMAIL PROTECTED]
> Sent: den 17 april 2006 17:28
> To: [email protected]
> Cc: Mats Forslöf
> Subject: RE: openwire-cpp question
>
> Hi Mats,
> Is the code in svn your latest?  I remember you including unit tests and
> makefiles at some point - did these get lost when the last patch was
> applied?
>
>
> -Original Message-
> From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 17, 2006 11:08 AM
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> There is no test stub either. I am wondering if someone ever tested it?
>
> Vik
>
> -Original Message-
> From: Mittler, Nathan [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 17, 2006 11:01 AM
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> Hmm ... that surprises me - I know the openwire-cpp team had included
> makefiles in the past.  I believe the code should support linux,
> windows, & OSX.
>
> Does anyone know where the makefiles are?
>
> -Original Message-
> From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 17, 2006 10:08 AM
> To: [email protected]
> Subject: RE: openwire-cpp question
>
> Hey Nate,
>
> I don't see any make file or something in there? Do you have any idea
> what O/S version and C++ complier this code recommends?
>
> Thanks!
>
> Vik
>
> -Original Message-
> From: Nathan Mittler [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 17, 2006 6:16 AM
> To: [email protected]
> Subject: Re: openwire-cpp question
>
> The latter - It's a client-side library.  The same is true for the Stomp
> CMS
> lib and the openwire .NET lib.
>
> Regards,
> Nate
>
> On 4/16/06, vik Dhawan <[EMAIL PR

RE: openwire-cpp question

2006-04-19 Thread David Fahlander
Nice you got it to compile and run! =)

Maybe there have been modifications in the openwire protocol since AMQ-RC2. A 
snapshot can always be a little unstable. I think that James would know more 
about that.

/David

-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: den 19 april 2006 16:45
To: [email protected]
Subject: RE: openwire-cpp question

Hey David,

I was able to build this code on Sun Workshop 8, I had to put some OS dependant 
condition checks, like you have for MACOS and have to modify code a little bit 
here and there nothing major.

I am able to run it with AMQ-RC2 but when I tried to run it with latest 
SNAPSHOT (04/18) it was getting stuck after receiving BROKER_INFO command.

I am not sure if latest SNAPSHOT is having issues because I had the same 
problem with the STOMP C client it was getting stuck after sending the SUB 
command. 

Thanks!

Vik

-Original Message-
From: David Fahlander [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 19, 2006 5:03 AM
To: [email protected]
Subject: RE: openwire-cpp question

This code compiles and runs on GCC 3, GCC 4 and Visual Studio 2005. We have 
never tried to compile it with Sun compiler. The code is tested and can 
communicate with text messages with the broker (as our test code does).

Hope to get the time to make the code compile with more C++ compilers as soon 
as we get to a point where the code becomes complete.

David

-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: den 18 april 2006 23:37
To: [email protected]
Subject: RE: openwire-cpp question

Hi David,

I tried that code earlier and ran in to build issues, there are lots of things 
in this code what Sun Compiler didn't liked. Is this code tested?

Thanks!

Vik

-Original Message-
From: David Fahlander [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 18, 2006 2:55 AM
To: [email protected]
Cc: Mats Forslöf
Subject: RE: openwire-cpp question

The latest code is of the openwire cpp client was uploaded as a jira patch at 
http://issues.apache.org/activemq/browse/AMQ-656. The latest version is called 
"source 060406.zip". It contains the full source tree as well as make files and 
a test program.

/David

-Original Message-
From: Mittler, Nathan [mailto:[EMAIL PROTECTED] 
Sent: den 17 april 2006 17:28
To: [email protected]
Cc: Mats Forslöf
Subject: RE: openwire-cpp question

Hi Mats,
Is the code in svn your latest?  I remember you including unit tests and
makefiles at some point - did these get lost when the last patch was
applied?


-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 11:08 AM
To: [email protected]
Subject: RE: openwire-cpp question

There is no test stub either. I am wondering if someone ever tested it?

Vik

-Original Message-
From: Mittler, Nathan [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 11:01 AM
To: [email protected]
Subject: RE: openwire-cpp question

Hmm ... that surprises me - I know the openwire-cpp team had included
makefiles in the past.  I believe the code should support linux,
windows, & OSX.  

Does anyone know where the makefiles are?

-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 10:08 AM
To: [email protected]
Subject: RE: openwire-cpp question

Hey Nate,

I don't see any make file or something in there? Do you have any idea
what O/S version and C++ complier this code recommends?

Thanks!

Vik

-Original Message-
From: Nathan Mittler [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 6:16 AM
To: [email protected]
Subject: Re: openwire-cpp question

The latter - It's a client-side library.  The same is true for the Stomp
CMS
lib and the openwire .NET lib.

Regards,
Nate

On 4/16/06, vik Dhawan <[EMAIL PROTECTED]> wrote:
>
>
> I wanted to know the use of Development branch on SVN at
> http://svn.apache.org/repos/asf/incubator/activemq/trunk/openwire-cpp/
>
> Is this a C++ implementation of ActiveMQ? is it complete? or is it can
be
> used as a C++ library so some application can use classes in this
library
> to
> connect to a remote AMQ server?
>
> Thanks!
>
>
> --
> View this message in context:
> http://www.nabble.com/openwire-cpp-question-t1459989.html#a3945792
> Sent from the ActiveMQ - Dev forum at Nabble.com.
>
>


RE: openwire-cpp question

2006-04-19 Thread Dhawan, Vikram \(LNG-DAY\)
Hey David,

I was able to build this code on Sun Workshop 8, I had to put some OS dependant 
condition checks, like you have for MACOS and have to modify code a little bit 
here and there nothing major.

I am able to run it with AMQ-RC2 but when I tried to run it with latest 
SNAPSHOT (04/18) it was getting stuck after receiving BROKER_INFO command.

I am not sure if latest SNAPSHOT is having issues because I had the same 
problem with the STOMP C client it was getting stuck after sending the SUB 
command. 

Thanks!

Vik

-Original Message-
From: David Fahlander [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 19, 2006 5:03 AM
To: [email protected]
Subject: RE: openwire-cpp question

This code compiles and runs on GCC 3, GCC 4 and Visual Studio 2005. We have 
never tried to compile it with Sun compiler. The code is tested and can 
communicate with text messages with the broker (as our test code does).

Hope to get the time to make the code compile with more C++ compilers as soon 
as we get to a point where the code becomes complete.

David

-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: den 18 april 2006 23:37
To: [email protected]
Subject: RE: openwire-cpp question

Hi David,

I tried that code earlier and ran in to build issues, there are lots of things 
in this code what Sun Compiler didn't liked. Is this code tested?

Thanks!

Vik

-Original Message-
From: David Fahlander [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 18, 2006 2:55 AM
To: [email protected]
Cc: Mats Forslöf
Subject: RE: openwire-cpp question

The latest code is of the openwire cpp client was uploaded as a jira patch at 
http://issues.apache.org/activemq/browse/AMQ-656. The latest version is called 
"source 060406.zip". It contains the full source tree as well as make files and 
a test program.

/David

-Original Message-
From: Mittler, Nathan [mailto:[EMAIL PROTECTED] 
Sent: den 17 april 2006 17:28
To: [email protected]
Cc: Mats Forslöf
Subject: RE: openwire-cpp question

Hi Mats,
Is the code in svn your latest?  I remember you including unit tests and
makefiles at some point - did these get lost when the last patch was
applied?


-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 11:08 AM
To: [email protected]
Subject: RE: openwire-cpp question

There is no test stub either. I am wondering if someone ever tested it?

Vik

-Original Message-
From: Mittler, Nathan [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 11:01 AM
To: [email protected]
Subject: RE: openwire-cpp question

Hmm ... that surprises me - I know the openwire-cpp team had included
makefiles in the past.  I believe the code should support linux,
windows, & OSX.  

Does anyone know where the makefiles are?

-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 10:08 AM
To: [email protected]
Subject: RE: openwire-cpp question

Hey Nate,

I don't see any make file or something in there? Do you have any idea
what O/S version and C++ complier this code recommends?

Thanks!

Vik

-Original Message-
From: Nathan Mittler [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 6:16 AM
To: [email protected]
Subject: Re: openwire-cpp question

The latter - It's a client-side library.  The same is true for the Stomp
CMS
lib and the openwire .NET lib.

Regards,
Nate

On 4/16/06, vik Dhawan <[EMAIL PROTECTED]> wrote:
>
>
> I wanted to know the use of Development branch on SVN at
> http://svn.apache.org/repos/asf/incubator/activemq/trunk/openwire-cpp/
>
> Is this a C++ implementation of ActiveMQ? is it complete? or is it can
be
> used as a C++ library so some application can use classes in this
library
> to
> connect to a remote AMQ server?
>
> Thanks!
>
>
> --
> View this message in context:
> http://www.nabble.com/openwire-cpp-question-t1459989.html#a3945792
> Sent from the ActiveMQ - Dev forum at Nabble.com.
>
>


RE: openwire-cpp question

2006-04-19 Thread David Fahlander
This code compiles and runs on GCC 3, GCC 4 and Visual Studio 2005. We have 
never tried to compile it with Sun compiler. The code is tested and can 
communicate with text messages with the broker (as our test code does).

Hope to get the time to make the code compile with more C++ compilers as soon 
as we get to a point where the code becomes complete.

David

-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: den 18 april 2006 23:37
To: [email protected]
Subject: RE: openwire-cpp question

Hi David,

I tried that code earlier and ran in to build issues, there are lots of things 
in this code what Sun Compiler didn't liked. Is this code tested?

Thanks!

Vik

-Original Message-
From: David Fahlander [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 18, 2006 2:55 AM
To: [email protected]
Cc: Mats Forslöf
Subject: RE: openwire-cpp question

The latest code is of the openwire cpp client was uploaded as a jira patch at 
http://issues.apache.org/activemq/browse/AMQ-656. The latest version is called 
"source 060406.zip". It contains the full source tree as well as make files and 
a test program.

/David

-Original Message-
From: Mittler, Nathan [mailto:[EMAIL PROTECTED] 
Sent: den 17 april 2006 17:28
To: [email protected]
Cc: Mats Forslöf
Subject: RE: openwire-cpp question

Hi Mats,
Is the code in svn your latest?  I remember you including unit tests and
makefiles at some point - did these get lost when the last patch was
applied?


-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 11:08 AM
To: [email protected]
Subject: RE: openwire-cpp question

There is no test stub either. I am wondering if someone ever tested it?

Vik

-Original Message-
From: Mittler, Nathan [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 11:01 AM
To: [email protected]
Subject: RE: openwire-cpp question

Hmm ... that surprises me - I know the openwire-cpp team had included
makefiles in the past.  I believe the code should support linux,
windows, & OSX.  

Does anyone know where the makefiles are?

-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 10:08 AM
To: [email protected]
Subject: RE: openwire-cpp question

Hey Nate,

I don't see any make file or something in there? Do you have any idea
what O/S version and C++ complier this code recommends?

Thanks!

Vik

-Original Message-
From: Nathan Mittler [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 6:16 AM
To: [email protected]
Subject: Re: openwire-cpp question

The latter - It's a client-side library.  The same is true for the Stomp
CMS
lib and the openwire .NET lib.

Regards,
Nate

On 4/16/06, vik Dhawan <[EMAIL PROTECTED]> wrote:
>
>
> I wanted to know the use of Development branch on SVN at
> http://svn.apache.org/repos/asf/incubator/activemq/trunk/openwire-cpp/
>
> Is this a C++ implementation of ActiveMQ? is it complete? or is it can
be
> used as a C++ library so some application can use classes in this
library
> to
> connect to a remote AMQ server?
>
> Thanks!
>
>
> --
> View this message in context:
> http://www.nabble.com/openwire-cpp-question-t1459989.html#a3945792
> Sent from the ActiveMQ - Dev forum at Nabble.com.
>
>


RE: openwire-cpp question

2006-04-17 Thread Mittler, Nathan
Hi Mats,
Is the code in svn your latest?  I remember you including unit tests and
makefiles at some point - did these get lost when the last patch was
applied?


-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 11:08 AM
To: [email protected]
Subject: RE: openwire-cpp question

There is no test stub either. I am wondering if someone ever tested it?

Vik

-Original Message-
From: Mittler, Nathan [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 11:01 AM
To: [email protected]
Subject: RE: openwire-cpp question

Hmm ... that surprises me - I know the openwire-cpp team had included
makefiles in the past.  I believe the code should support linux,
windows, & OSX.  

Does anyone know where the makefiles are?

-Original Message-
From: Dhawan, Vikram (LNG-DAY) [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 10:08 AM
To: [email protected]
Subject: RE: openwire-cpp question

Hey Nate,

I don't see any make file or something in there? Do you have any idea
what O/S version and C++ complier this code recommends?

Thanks!

Vik

-Original Message-
From: Nathan Mittler [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 6:16 AM
To: [email protected]
Subject: Re: openwire-cpp question

The latter - It's a client-side library.  The same is true for the Stomp
CMS
lib and the openwire .NET lib.

Regards,
Nate

On 4/16/06, vik Dhawan <[EMAIL PROTECTED]> wrote:
>
>
> I wanted to know the use of Development branch on SVN at
> http://svn.apache.org/repos/asf/incubator/activemq/trunk/openwire-cpp/
>
> Is this a C++ implementation of ActiveMQ? is it complete? or is it can
be
> used as a C++ library so some application can use classes in this
library
> to
> connect to a remote AMQ server?
>
> Thanks!
>
>
> --
> View this message in context:
> http://www.nabble.com/openwire-cpp-question-t1459989.html#a3945792
> Sent from the ActiveMQ - Dev forum at Nabble.com.
>
>