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

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 TcpSocket::connect(const char* host, int port, int timeout) throw

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 at the Java client's implementation

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() ) {

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: AW: Does ActiveMQ support http proxy?

2010-06-03 Thread alanchb
thanks a lot! I'll have a try. Heiss, Georg (Allianz SE, externer Mitarbeiter) wrote: http://proxytunnel.sourceforge.net/ proxytunnel -a 61613 -p my.proxy.de:8080 -d my.acivemq.de:61613 works fine for me. Kind Regards Georg -Urspr?ngliche Nachricht- Von: alanchb

Re: Does ActiveMQ support http proxy?

2010-06-03 Thread alanchb
AM, Heiss, Georg (Allianz SE, externer Mitarbeiter) extern.heiss_ge...@allianz.com wrote: http://proxytunnel.sourceforge.net/ proxytunnel -a 61613 -p my.proxy.de:8080 -d my.acivemq.de:61613 works fine for me. Kind Regards Georg -Urspr?ngliche Nachricht- Von: alanchb

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

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

2010-05-19 Thread alanchb
(...); 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 Subject: RE: How to post message to a certain queue consumer? Yes

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

2010-05-19 Thread alanchb
API to set TTL Message message = 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

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

2010-05-19 Thread alanchb
it useful though. From: alanchb [alanchbm...@gmail.com] Sent: 19 May 2010 04:32 To: users@activemq.apache.org Subject: RE: How to post message to a certain queue consumer? Yes,it works well. But I work with Visual C#,the method is a little different from

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

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

2010-05-18 Thread alanchb
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? thanks a lot! that's exactly what i need

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. the missing method: Boolean System.Threading.WaitHandle.WaitOne

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