Hi Mats,

The fields of a command may have changed, but I don't think any of the
marshaller generators have changed.  So re-running the openwire
marshaller code generators should take care of the problem.

BTW:  On the java side we have developed test cases where each command
type gets marshaled to a file.  This file can act as a reference for
the other languages.  It should be possible to marshall a command in
c++ and compare it to the contents of the file.  Should help detect
when and on which commands the c++ marshaller get out of step with the
Java ones.



On 4/20/06, Mats Forslöf <[EMAIL PROTECTED]> wrote:
> Hiram,
>
> Please specify what has changed in the protocol, it would save us a lot of 
> time if someone could post these changes to the mailing list, if it already 
> has been posted sorry for not observing it!
>
> Regards,
> Mats
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram Chirino
> Sent: den 19 april 2006 19:51
> 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
> >
> > -----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-cp
> > > p/
> > >
> > > 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.
> > >
> > >
> >
>
>
> --
> Regards,
> Hiram
>


--
Regards,
Hiram

Reply via email to