Hi Dejan,

http transport was not necessary in my case.
Just: proxytunnel -a 61613 -p my.proxy.de:8080 -d my.activemq.de:61613

perl stomp->send implementation:


#!/usr/bin/perl
use Net::Stomp;
my $csv = "csv1,csv2,csv3,csvn";
my $stomp = Net::Stomp->new( { hostname => 'localhost', port => '61613' } );
$stomp->connect( { login => 'ids', passcode => 'secretpw' } );
$stomp->send( { destination => '/queue/market', body => $csv} );
$stomp->disconnect;

Have fun
Georg
 

-----Urspr?ngliche Nachricht-----
Von: alanchb [mailto:alanchbm...@gmail.com] 
Gesendet: Donnerstag, 3. Juni 2010 10:15
An: users@activemq.apache.org
Betreff: Re: Does ActiveMQ support http proxy?


thanks for your reply.
but how to use http transport?I will be appreciated if you could offer some
more information.
1, how to config the server?
2, how to write the client program(consumer)? (I use NMS in C#)

Dejan Bosanac wrote:
> 
> For these proxy tunnels to work, you should use http transport (
> http://activemq.apache.org/http-and-https-transports-reference.html)
> 
> Cheers
> --
> Dejan Bosanac - http://twitter.com/dejanb
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 
> 
> On Wed, Jun 2, 2010 at 6:44 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 [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 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 list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 

-- 
View this message in context: 
http://old.nabble.com/Does-ActiveMQ-support-http-proxy--tp28752620p28764602.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to