RE: Update to the wiki for the ActiveMQ CPP library

2006-07-08 Thread Timothy Bish
Sorry about that

The URI parsing code in there right now is sort of a hack, that's on my list
of things to fix.  If you change the code to this

ActiveMQConnectionFactory* connectionFactory = new
ActiveMQConnectionFactory("tcp://127.0.0.1:61613");

It should work for you.  

I'll try and get a patch together to fix that example code.

-

Timothy A. Bish
[EMAIL PROTECTED]

-Original Message-
From: arashad [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 08, 2006 2:11 AM
To: activemq-dev@geronimo.apache.org
Subject: Re: Update to the wiki for the ActiveMQ CPP library
Importance: High


Hi, 
  This file main.cpp  gives the following run time Exception what is
wrong...
#
ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613 - tid:
1078750128
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 209 - tid: 1078750128
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 242 - tid: 1078750128
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 168 - tid: 1078750128
ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 209
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 242
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 168
ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613 - tid:
1080851376
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 209 - tid: 1080851376
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 242 - tid: 1080851376
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 168 - tid: 1080851376
ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 209
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 242
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 168


##

   So please help me 

Thanks and regards
Arashad Ahamad 
-- 
View this message in context:
http://www.nabble.com/Update-to-the-wiki-for-the-ActiveMQ-CPP-library-tf1901
655.html#a5228427
Sent from the ActiveMQ - Dev forum at Nabble.com.



Re: Update to the wiki for the ActiveMQ CPP library

2006-07-07 Thread arashad

Hi, 
  This file main.cpp  gives the following run time Exception what is
wrong...
#
ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613 - tid:
1078750128
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 209 - tid: 1078750128
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 242 - tid: 1078750128
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 168 - tid: 1078750128
ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 209
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 242
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 168
ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613 - tid:
1080851376
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 209 - tid: 1080851376
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 242 - tid: 1080851376
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 168 - tid: 1080851376
ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 209
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 242
FILE:
/home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp,
LINE: 168


##

   So please help me 

Thanks and regards
Arashad Ahamad 
-- 
View this message in context: 
http://www.nabble.com/Update-to-the-wiki-for-the-ActiveMQ-CPP-library-tf1901655.html#a5228427
Sent from the ActiveMQ - Dev forum at Nabble.com.



Re: Update to the wiki for the ActiveMQ CPP library

2006-07-07 Thread James Strachan

Great stuff Tim, keep up the good work :)

On 7/7/06, Bish, Tim <[EMAIL PROTECTED]> wrote:

Just a small note:

I'm continuing to work on the C++ API, I've already done some
refactoring on the CMS interfaces to make them more JMS like.  Mostly
that involved renaming some enumerations.  So the next submittal will
break anyone who is currently using them, but it's an easy fix.

I've also done a bunch of code cleanup and expanded the Java DOC
comments on many of the classes.  Documentation is always a good thing.


This weekend I intend to run the whole package through a code analyzer
to check for leaks.  Once I finish that I think we will be ready to
submit a new drop for rev 0.0.2 just to so that we get the changes to
the CMS interfaces in quickly

After that I will move onto working on parsing params from the
destinations names so we can support setting options from the
destinations.  Plus there's a lot of other good stuff to come.

-
Timothy A. Bish
Sensis Corporation
[EMAIL PROTECTED]
-



> -Original Message-
> From: Mittler, Nathan [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 07, 2006 9:12 AM
> To: activemq-dev@geronimo.apache.org
> Subject: RE: Update to the wiki for the ActiveMQ CPP library
>
> Thanks James! :)
>
> > -Original Message-
> > From: James Strachan [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 07, 2006 2:00 AM
> > To: activemq-dev@geronimo.apache.org
> > Subject: Re: Update to the wiki for the ActiveMQ CPP library
> >
> > BTW the code looks great too :)
> >
> > On 7/7/06, James Strachan <[EMAIL PROTECTED]> wrote:
> > > On 7/6/06, Mittler, Nathan <[EMAIL PROTECTED]> wrote:
> > > > FYI, I've added a page to the wiki for ActiveMQ CPP:
> > > > http://www.activemq.org/site/activemq-cpp-client.html
> > > >
> > > > Also updated the Integration C++ link on the navigation pane to
> > > > reference this page instead of CMS and I updated the C
> > Integration
> > > > page to add a link to this page as well.
> > >
> > > Great stuff Nate! Documentation rocks :)
> > >
> > > --
> > >
> > > James
> > > ---
> > > http://radio.weblogs.com/0112098/
> > >
> >
> >
> > --
> >
> > James
> > ---
> > http://radio.weblogs.com/0112098/
> >




--

James
---
http://radio.weblogs.com/0112098/


RE: Update to the wiki for the ActiveMQ CPP library

2006-07-07 Thread Bish, Tim
Just a small note:

I'm continuing to work on the C++ API, I've already done some
refactoring on the CMS interfaces to make them more JMS like.  Mostly
that involved renaming some enumerations.  So the next submittal will
break anyone who is currently using them, but it's an easy fix.  

I've also done a bunch of code cleanup and expanded the Java DOC
comments on many of the classes.  Documentation is always a good thing.


This weekend I intend to run the whole package through a code analyzer
to check for leaks.  Once I finish that I think we will be ready to
submit a new drop for rev 0.0.2 just to so that we get the changes to
the CMS interfaces in quickly

After that I will move onto working on parsing params from the
destinations names so we can support setting options from the
destinations.  Plus there's a lot of other good stuff to come.
 
-
Timothy A. Bish
Sensis Corporation
[EMAIL PROTECTED]
- 



> -Original Message-
> From: Mittler, Nathan [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 07, 2006 9:12 AM
> To: activemq-dev@geronimo.apache.org
> Subject: RE: Update to the wiki for the ActiveMQ CPP library
> 
> Thanks James! :)
> 
> > -Original Message-
> > From: James Strachan [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 07, 2006 2:00 AM
> > To: activemq-dev@geronimo.apache.org
> > Subject: Re: Update to the wiki for the ActiveMQ CPP library
> >
> > BTW the code looks great too :)
> >
> > On 7/7/06, James Strachan <[EMAIL PROTECTED]> wrote:
> > > On 7/6/06, Mittler, Nathan <[EMAIL PROTECTED]> wrote:
> > > > FYI, I've added a page to the wiki for ActiveMQ CPP:
> > > > http://www.activemq.org/site/activemq-cpp-client.html
> > > >
> > > > Also updated the Integration C++ link on the navigation pane to
> > > > reference this page instead of CMS and I updated the C
> > Integration
> > > > page to add a link to this page as well.
> > >
> > > Great stuff Nate! Documentation rocks :)
> > >
> > > --
> > >
> > > James
> > > ---
> > > http://radio.weblogs.com/0112098/
> > >
> >
> >
> > --
> >
> > James
> > ---
> > http://radio.weblogs.com/0112098/
> >


RE: Update to the wiki for the ActiveMQ CPP library

2006-07-07 Thread Mittler, Nathan
Thanks James! :) 

> -Original Message-
> From: James Strachan [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 07, 2006 2:00 AM
> To: activemq-dev@geronimo.apache.org
> Subject: Re: Update to the wiki for the ActiveMQ CPP library
> 
> BTW the code looks great too :)
> 
> On 7/7/06, James Strachan <[EMAIL PROTECTED]> wrote:
> > On 7/6/06, Mittler, Nathan <[EMAIL PROTECTED]> wrote:
> > > FYI, I've added a page to the wiki for ActiveMQ CPP:
> > > http://www.activemq.org/site/activemq-cpp-client.html
> > >
> > > Also updated the Integration C++ link on the navigation pane to 
> > > reference this page instead of CMS and I updated the C 
> Integration 
> > > page to add a link to this page as well.
> >
> > Great stuff Nate! Documentation rocks :)
> >
> > --
> >
> > James
> > ---
> > http://radio.weblogs.com/0112098/
> >
> 
> 
> -- 
> 
> James
> ---
> http://radio.weblogs.com/0112098/
> 


Re: Update to the wiki for the ActiveMQ CPP library

2006-07-06 Thread James Strachan

BTW the code looks great too :)

On 7/7/06, James Strachan <[EMAIL PROTECTED]> wrote:

On 7/6/06, Mittler, Nathan <[EMAIL PROTECTED]> wrote:
> FYI, I've added a page to the wiki for ActiveMQ CPP:
> http://www.activemq.org/site/activemq-cpp-client.html
>
> Also updated the Integration C++ link on the navigation pane to
> reference this page instead of CMS and I updated the C Integration page
> to add a link to this page as well.

Great stuff Nate! Documentation rocks :)

--

James
---
http://radio.weblogs.com/0112098/




--

James
---
http://radio.weblogs.com/0112098/


Re: Update to the wiki for the ActiveMQ CPP library

2006-07-06 Thread James Strachan

On 7/6/06, Mittler, Nathan <[EMAIL PROTECTED]> wrote:

FYI, I've added a page to the wiki for ActiveMQ CPP:
http://www.activemq.org/site/activemq-cpp-client.html

Also updated the Integration C++ link on the navigation pane to
reference this page instead of CMS and I updated the C Integration page
to add a link to this page as well.


Great stuff Nate! Documentation rocks :)

--

James
---
http://radio.weblogs.com/0112098/


Update to the wiki for the ActiveMQ CPP library

2006-07-06 Thread Mittler, Nathan
FYI, I've added a page to the wiki for ActiveMQ CPP:
http://www.activemq.org/site/activemq-cpp-client.html
 
Also updated the Integration C++ link on the navigation pane to
reference this page instead of CMS and I updated the C Integration page
to add a link to this page as well.
 
Regards,
Nate