activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Does ActiveMQ support http proxy?
Date Mon, 07 Jun 2010 13:55:22 GMT
Hi Georg,

great. I'm glad it works for Stomp as well, thanks for sharing. It'd be good
to document this.

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 Mon, Jun 7, 2010 at 3:48 PM, Heiss, Georg (Allianz SE, externer
Mitarbeiter) <extern.heiss_georg@allianz.com> wrote:

> 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:alanchbmail@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_georg@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:alanchbmail@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.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message