Re: Connect remote ActiveMQ server via HTTP PROXY failed!

2010-08-15 Thread alanchb
Anyone knows? -- View this message in context: http://old.nabble.com/Connect-remote-ActiveMQ-server-via-HTTP-PROXY-failed%21-tp29386426p29446223.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Connect remote ActiveMQ server via HTTP PROXY failed!

2010-08-09 Thread alanchb
I use CMS. For the requirement of my project, I have to connect remote ActiveMQ server via HTTP PROXY.But having tried some way for a period of time,I had no progress and return here for help. I modified the Connect function in TcpSocket.cpp so that the socket can connect the remote server via H

Re: Try to link MQ server via http proxy,but data format seems is wrong...

2010-06-24 Thread alanchb
wrote: > > On Wed, 2010-06-23 at 20:07 -0700, alanchb wrote: >> I download the CMS source code,and modified the TcpSocket::connect >> function >> in TcpSocket.cpp in order to tunnel http proxy.Below is the code I >> modified >> or added: >> >> void Tc

Try to link MQ server via http proxy,but data format seems is wrong...

2010-06-23 Thread alanchb
I download the CMS source code,and modified the TcpSocket::connect function in TcpSocket.cpp in order to tunnel http proxy.Below is the code I modified or added: void TcpSocket::connect(const char* host, int port, int timeout) throw ( SocketException ) { try{ if( isConnected() ) {

Re: Is it possible to use http/https protocol with NMS or CMS?

2010-06-23 Thread alanchb
Got it, thank you! Timothy Bish wrote: > > On Mon, 2010-06-21 at 19:53 -0700, alanchb wrote: >> Thanks a lot for any help! > > Currently neither client supports an HTTP or HTTPS based transport, if > you like to contribute to the project you could take a look a

Is it possible to use http/https protocol with NMS or CMS?

2010-06-21 Thread alanchb
Thanks a lot for any help! -- View this message in context: http://old.nabble.com/Is-it-possible-to-use-http-https-protocol-with-NMS-or-CMS--tp28955622p28955622.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Does ActiveMQ support http proxy?

2010-06-03 Thread alanchb
ks fine for me. >> Kind Regards >> Georg >> >> >> -Urspr?ngliche Nachricht- >> Von: alanchb [mailto:alanchbm...@gmail.com] >> Gesendet: Mittwoch, 2. Juni 2010 12:32 >> An: users@activemq.apache.org >> Betreff: Does ActiveMQ support http pr

Re: AW: Does ActiveMQ support http proxy?

2010-06-03 Thread alanchb
gt; > > -Urspr?ngliche Nachricht- > Von: alanchb [mailto:alanchbm...@gmail.com] > Gesendet: Mittwoch, 2. Juni 2010 12:32 > An: users@activemq.apache.org > Betreff: Does ActiveMQ support http proxy? > > > or any other type of proxy? > > In an intranet,tried to

Does ActiveMQ support http proxy?

2010-06-02 Thread alanchb
or any other type of proxy? In an intranet,tried to link MQ server via http proxy,but connecting exception was throwed.Is there any solution? -- View this message in context: http://old.nabble.com/Does-ActiveMQ-support-http-proxy--tp28752620p28752620.html Sent from the ActiveMQ - User mailing l

RE: How to post message to a certain queue consumer?

2010-05-19 Thread alanchb
or of this blog have a bunch of ActiveMQ related blog entries that > are worth reading. > Hope this helps you, > Seb > > On 19 May 2010 16:22, Cristian Botiza wrote: > >> Session session = ...; >> MessageProducer producer = session.createProducer(destination); >> &

Re: How to post message to a certain queue consumer?

2010-05-19 Thread alanchb
rk.wordpress.com/articles/publish-subscribe-with-activemq-and-nms/ > The author of this blog have a bunch of ActiveMQ related blog entries that > are worth reading. > Hope this helps you, > Seb > > On 19 May 2010 16:22, Cristian Botiza wrote: > >> Session session =

RE: How to post message to a certain queue consumer?

2010-05-19 Thread alanchb
session.create...Message(...); > > producer.send(message); > > TTL has nothing to do with message selectors; I found it useful though. > ________ > From: alanchb [alanchbm...@gmail.com] > Sent: 19 May 2010 04:32 > To: users@activemq.apache.org >

RE: How to post message to a certain queue consumer?

2010-05-18 Thread alanchb
Message. > Did this approach work with P2P and multiple consumers? > > ________ > From: alanchb [alanchbm...@gmail.com] > Sent: 18 May 2010 18:08 > To: users@activemq.apache.org > Subject: RE: How to post message to a certain queue consumer? >

RE: How to post message to a certain queue consumer?

2010-05-18 Thread alanchb
erPropert='my consumerID' > > ActiveMQ should dispatch only the messages matching the filter. Others > will stay in the queue, I would also set the TTL in the producer (optional > though). > > > From: alanchb [alanchbm...@gmail.com]

RE: How to post message to a certain queue consumer?

2010-05-18 Thread alanchb
Thanks for your reply. but how to use message selector to identify a consumer when producer send a message? Cristian Botiza wrote: > > Message selectors? > > ____ > From: alanchb [alanchbm...@gmail.com] > Sent: 18 May 2010

Re: How to post message to a certain queue consumer?

2010-05-18 Thread alanchb
can't see the reply -- View this message in context: http://old.nabble.com/How-to-post-message-to-a-certain-queue-consumer--tp28592826p28593411.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

How to post message to a certain queue consumer?

2010-05-18 Thread alanchb
under the P2P mode,if i have sevaral queue consumers,how to make the producer post message to the consumer he wants? -- View this message in context: http://old.nabble.com/How-to-post-message-to-a-certain-queue-consumer--tp28592826p28592826.html Sent from the ActiveMQ - User mailing list archive

Re: Apache.NMS.ActiveMQ.dll throw MissingMethodException:Boolean System.Threading.WaitHandle.WaitOne(System.TimeSpan)

2010-05-07 Thread alanchb
Timothy Bish wrote: > > On Thu, 2010-05-06 at 19:40 -0700, alanchb wrote: >> the dll i use is from Apache.NMS.ActiveMQ-1.2.0-bin >> i has tried .net-2.0 and .net-3.5 version,it seems the problem has >> nothing >> to do with the version. >

Apache.NMS.ActiveMQ.dll throw MissingMethodException:Boolean System.Threading.WaitHandle.WaitOne(System.TimeSpan)

2010-05-06 Thread alanchb
the dll i use is from Apache.NMS.ActiveMQ-1.2.0-bin i has tried .net-2.0 and .net-3.5 version,it seems the problem has nothing to do with the version. the missing method: Boolean System.Threading.WaitHandle.WaitOne(System.TimeSpan) the declaration of the method in C#:public virtual bool WaitOne(T