You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cppUser <bi...@techmahindra.com> on 2007/05/16 07:36:14 UTC

Restrictions in uri supports for cpp client?

Hi All,

I tried to use the url options mentioned in the following link, but was only
successful with "tcp" and "io"(partially only).

http://activemq.apache.org/uri-protocols.html

They all fail. For eg
"list:tcp://10.234.88.110:61616??wireFormat=openwire,tcp://localhost:61616?wireFormat=openwire"
OR "discovery:(multicast://default)?wireFormat=openwire" etc. The only
perfectly working url is "tcp://HOST:PORT?wireFormat=openwire".

Could somebody throw some light how to use them from c++ client? Iam
particularly interested in either discovering an availble broker or chosing
from a list i give. Any help on this would be appreciated.

Thanks!
-- 
View this message in context: http://www.nabble.com/Restrictions-in-uri-supports-for-cpp-client--tf3762645s2354.html#a10635911
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Restrictions in uri supports for cpp client?

Posted by cppUser <bi...@techmahindra.com>.
Thanks a lot Nate!



nmittler wrote:
> 
> Discovery is not currently supported by activemq-cpp.  You can see the
> list
> of options here:
> 
> http://activemq.apache.org/cms/configuring.html
> 
> Regards,
> Nate
> 
> On 5/16/07, cppUser <bi...@techmahindra.com> wrote:
>>
>>
>> Hi All,
>>
>> I tried to use the url options mentioned in the following link, but was
>> only
>> successful with "tcp" and "io"(partially only).
>>
>> http://activemq.apache.org/uri-protocols.html
>>
>> They all fail. For eg
>>
>> "list:tcp://10.234.88.110:61616??wireFormat=openwire,tcp://localhost:61616?wireFormat=openwire"
>> OR "discovery:(multicast://default)?wireFormat=openwire" etc. The only
>> perfectly working url is "tcp://HOST:PORT?wireFormat=openwire".
>>
>> Could somebody throw some light how to use them from c++ client? Iam
>> particularly interested in either discovering an availble broker or
>> chosing
>> from a list i give. Any help on this would be appreciated.
>>
>> Thanks!
>> --
>> View this message in context:
>> http://www.nabble.com/Restrictions-in-uri-supports-for-cpp-client--tf3762645s2354.html#a10635911
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Restrictions-in-uri-supports-for-cpp-client--tf3762645s2354.html#a10677275
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Cleaning the database

Posted by James Strachan <ja...@gmail.com>.
On 5/18/07, Jim Alateras <ji...@comware.com.au> wrote:
> James Strachan wrote:
> > On 5/17/07, Jim Alateras <ji...@comware.com.au> wrote:
> >> What is the best way to clear the database that stores persistent
> >> messages? I am using an embedded broker and the mysql database, which
> >> is shared with other applications.
> >
> > You can purge individual queues via JMX; or just drop & recreate the
> > database in mysql :)
> >
> thanks James, can you point me a URL that describes the activemq
> database schema.

No its created on startup. Note if you're using the journal with
ActiveMQ for performance, deleting messages in the database before
checkpointing could cause confusion (i.e. they may come back next
checkpoint).

-- 
James
-------
http://macstrac.blogspot.com/

Re: Cleaning the database

Posted by Jim Alateras <ji...@comware.com.au>.
James Strachan wrote:
> On 5/17/07, Jim Alateras <ji...@comware.com.au> wrote:
>> What is the best way to clear the database that stores persistent
>> messages? I am using an embedded broker and the mysql database, which
>> is shared with other applications.
> 
> You can purge individual queues via JMX; or just drop & recreate the
> database in mysql :)
> 
thanks James, can you point me a URL that describes the activemq 
database schema.

cheers
</jima>

Re: Cleaning the database

Posted by James Strachan <ja...@gmail.com>.
On 5/17/07, Jim Alateras <ji...@comware.com.au> wrote:
> What is the best way to clear the database that stores persistent
> messages? I am using an embedded broker and the mysql database, which
> is shared with other applications.

You can purge individual queues via JMX; or just drop & recreate the
database in mysql :)

-- 
James
-------
http://macstrac.blogspot.com/

Cleaning the database

Posted by Jim Alateras <ji...@comware.com.au>.
What is the best way to clear the database that stores persistent 
messages? I am using an embedded broker and the mysql database, which 
is shared with other applications.

Cleaning the database

Posted by Jim Alateras <ji...@comware.com.au>.
What is the best way to clear the database that stores persistent 
messages? I am using an embedded broker and the mysql database, which 
is shared with other applications.

Re: Restrictions in uri supports for cpp client?

Posted by Nathan Mittler <na...@gmail.com>.
Discovery is not currently supported by activemq-cpp.  You can see the list
of options here:

http://activemq.apache.org/cms/configuring.html

Regards,
Nate

On 5/16/07, cppUser <bi...@techmahindra.com> wrote:
>
>
> Hi All,
>
> I tried to use the url options mentioned in the following link, but was
> only
> successful with "tcp" and "io"(partially only).
>
> http://activemq.apache.org/uri-protocols.html
>
> They all fail. For eg
>
> "list:tcp://10.234.88.110:61616??wireFormat=openwire,tcp://localhost:61616?wireFormat=openwire"
> OR "discovery:(multicast://default)?wireFormat=openwire" etc. The only
> perfectly working url is "tcp://HOST:PORT?wireFormat=openwire".
>
> Could somebody throw some light how to use them from c++ client? Iam
> particularly interested in either discovering an availble broker or
> chosing
> from a list i give. Any help on this would be appreciated.
>
> Thanks!
> --
> View this message in context:
> http://www.nabble.com/Restrictions-in-uri-supports-for-cpp-client--tf3762645s2354.html#a10635911
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>