How to improve speed of connecting to ActiveMQ HTTP transport

2019-01-14 Thread Kristof Neirynck
I have an Apache ActiveMQ broker with a HTTP transportConnector. I try to connect java consumers to it. After about 250 consumers the time to establish a connection increases linearly. Cpu and memory usage remains low, so I don't understand what is going wrong. The slow parts are createConnectio

Re: [Artemis 2.6.3] Multicast consumer via HTTP transport: AMQ212037 Connection failure has been detected

2018-10-17 Thread thokuest
Filed https://issues.apache.org/jira/browse/ARTEMIS-2132 -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [Artemis 2.6.3] Multicast consumer via HTTP transport: AMQ212037 Connection failure has been detected

2018-10-16 Thread thokuest
Thanks for sorting this out Justin! Is there an issue filed with JIRA already or should I create one? > Out of curiosity, why are you using the HTTP transport. I don't think > it's > commonly used. Firewall-friendliness and architecture restrictions are the main driver. &

Re: [Artemis 2.6.3] Multicast consumer via HTTP transport: AMQ212037 Connection failure has been detected

2018-10-15 Thread Justin Bertram
quest >> cannot be cast to io.netty.buffer.ByteBuf [code=GENERIC_EXCEPTION] >> >> Indicates to me that you're hitting a bug. >> >> Out of curiosity, why are you using the HTTP transport. I don't think >> it's commonly used. >> >> >> Jus

Re: [Artemis 2.6.3] Multicast consumer via HTTP transport: AMQ212037 Connection failure has been detected

2018-10-15 Thread Justin Bertram
detected: > io.netty.handler.codec.http.HttpObjectAggregator$AggregatedFullHttpRequest > cannot be cast to io.netty.buffer.ByteBuf [code=GENERIC_EXCEPTION] > > Indicates to me that you're hitting a bug. > > Out of curiosity, why are you using the HTTP transport. I don't think > it's commonly used. >

Re: [Artemis 2.6.3] Multicast consumer via HTTP transport: AMQ212037 Connection failure has been detected

2018-10-15 Thread Justin Bertram
g the HTTP transport. I don't think it's commonly used. Justin On Mon, Oct 15, 2018 at 10:15 AM thokuest wrote: > I just started using ActiveMQ Artemis and would like to check whether I'm > doing something wrong or if I hit a bug. > > I want to consume messages f

[Artemis 2.6.3] Multicast consumer via HTTP transport: AMQ212037 Connection failure has been detected

2018-10-15 Thread thokuest
I just started using ActiveMQ Artemis and would like to check whether I'm doing something wrong or if I hit a bug. I want to consume messages from a multicast address via HTTP transport. I tweaked the http-transport example (apache-artemis-2.6.3/examples/features/standard/http-transport) f

HTTP Transport behind company firewall

2018-08-20 Thread Simon Martinelli, 72 Services LLC
d from a client without proxy the http transport works. That's the stack trace: Exception in thread "main" javax.jms.JMSException: Failed to create session factory at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(Acti

Re: ActiveMQ 5.12-HTTP Transport-Java 7 - prefetch=0 is not working (Consumer is not able to pick messages)

2018-01-09 Thread Tim Bain
Great, thank you for confirming that the fix can be successfully patched onto 5.12. Tim On Tue, Jan 9, 2018 at 11:34 PM, sampath516 wrote: > Hi All, > > Thank you. We have applied the below fix on 5.12 and it working fine now. > > Thanks, > Sampathi G > > > > -- > Sent from: http://activemq.228

Re: ActiveMQ 5.12-HTTP Transport-Java 7 - prefetch=0 is not working (Consumer is not able to pick messages)

2018-01-09 Thread sampath516
Hi All, Thank you. We have applied the below fix on 5.12 and it working fine now. Thanks, Sampathi G -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: ActiveMQ 5.12-HTTP Transport-Java 7 - prefetch=0 is not working (Consumer is not able to pick messages)

2017-12-30 Thread Tim Bain
ems to indicate that it's not related to > Java 8. > > Tim > > On Dec 28, 2017 2:08 AM, "sampath516" wrote: > >> Hi All, >> >> The prefetch=0 option is not working for the combination: ActiveMQ >> 5.12-HTTP >> Transport-Java 7. It is w

Re: ActiveMQ 5.12-HTTP Transport-Java 7 - prefetch=0 is not working (Consumer is not able to pick messages)

2017-12-29 Thread Tim Bain
erenced in your first thread, and the fact that it doesn't work undet Java 7 seems to indicate that it's not related to Java 8. Tim On Dec 28, 2017 2:08 AM, "sampath516" wrote: > Hi All, > > The prefetch=0 option is not working for the combination: ActiveMQ > 5.12-H

ActiveMQ 5.12-HTTP Transport-Java 7 - prefetch=0 is not working (Consumer is not able to pick messages)

2017-12-27 Thread sampath516
Hi All, The prefetch=0 option is not working for the combination: ActiveMQ 5.12-HTTP Transport-Java 7. It is working fine for tcp transport but not for http transport. Consumer is not able to pull messages from broker. One more observation is that prefetch=0 is working fine with ActiveMQ-5.8

Re: HTTP transport

2015-12-14 Thread artnaseef
Note that I have personally seen the HTTP transport consuming significant CPU resources in the past. Be sure to measure performance and watch CPU utilization. IIRC that's because the implementation frequently polls. I recommend looking to an alternate approach. One I've implemented

Re: HTTP transport

2015-12-12 Thread Tim Bain
can u help me? > > Thanks > Neo. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/HTTP-transport-tp4014555p4704907.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: HTTP transport

2015-12-12 Thread neo.li
hello, I am using http protocol for AMQ, but I find it is slower than using tcp. I guess that the cause are these dependencise, like jetty. I do no know how to optimize it, can u help me? Thanks Neo. -- View this message in context: http://activemq.2283324.n4.nabble.com/HTTP-transport

LevelDB with "http transport" not sending

2015-07-29 Thread abarooni
I am trying to connect to ActiveMQ cluster which use levelDB, via http transport , but the java client is not sending msg to broker, it is working fine with tcp transport. here are scenarios : 1) I use the same client with http transport to a SINGLE ActiveMQ server, and it is sending the msg. 2

Re: Use case of http transport connector

2013-10-16 Thread Christian Posta
The HTTP transport converts the Openwire command objects to XML using a text-based wire format (uses XStream under the covers). There is no binary marshalling/unmarshalling involved here. On Mon, Oct 14, 2013 at 2:03 AM, Steven Turner wrote: > Can someone tell me here where is XML coming h

Re: Use case of http transport connector

2013-10-15 Thread Steven Turner
Ping. Help please! -- View this message in context: http://activemq.2283324.n4.nabble.com/Use-case-of-http-transport-connector-tp4672325p4672859.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Use case of http transport connector

2013-10-14 Thread Steven Turner
Can someone tell me here where is XML coming here in between HTTP and openwire. It will be a very helpful for my project. -- View this message in context: http://activemq.2283324.n4.nabble.com/Use-case-of-http-transport-connector-tp4672325p4672725.html Sent from the ActiveMQ - User mailing

Re: Use case of http transport connector

2013-10-11 Thread Steven Turner
Is it that the text encoded message is converted to XML format and this xml payload is sent in a field in the HTTP POST request? Could you please tell me what's the field name? -Steven -- View this message in context: http://activemq.2283324.n4.nabble.com/Use-case-of-http-transpor

Re: Use case of http transport connector

2013-10-11 Thread Robert Davies
On 7 Oct 2013, at 16:31, Steven Turner wrote: > In addition to below post I also want to add some queries while using http > transport. > > 1. The HTTP transport is used to tunnel over HTTP(hypertext transfer > protocol) using XML payloads. http transport uses openwire, whic

Re: Use case of http transport connector

2013-10-11 Thread Robert Davies
with TCP transport connectors. I have also > tried using http transport connector for java producers and consumers, it is > working fine. But didn't get any useful scenario to use http transport > connector, Can someone give me some use cases where it is useful and more > efficient

Re: Use case of http transport connector

2013-10-11 Thread Steven Turner
Hey, Can someone answer my queries, it will be a big help. Please someone explain me about openwire and http protocol communication in ActiveMQ. Thanks, Steven -- View this message in context: http://activemq.2283324.n4.nabble.com/Use-case-of-http-transport-connector-tp4672325p4672633.html

Re: Use case of http transport connector

2013-10-08 Thread johnbing
Hi, I am also trying to use http transport, and I also like to know about http transport more, I have searched on internet but didn't get much, If someone from ActiveMQ dev team will help me. In addition to above questions i want to ask: -- Can ActiveMQ http transport be used for jav

Re: Use case of http transport connector

2013-10-07 Thread Steven Turner
In addition to below post I also want to add some queries while using http transport. 1. The HTTP transport is used to tunnel over HTTP(hypertext transfer protocol) using XML payloads. http transport uses openwire, which operates in binary format while http protocol don't understand binary

Use case of http transport connector

2013-10-07 Thread Steven Turner
Hi, I am currently running my broker using TCP transport connector. I am trying to use http transport connector for my broker, it is working properly, Currently I am running it for local java producer and consumer. I am not able to figure out when and in what cases we should use http transport

Use case of http transport connector

2013-10-07 Thread Steven Turner
Hi, I am currently running my broker with TCP transport connectors. I have also tried using http transport connector for java producers and consumers, it is working fine. But didn't get any useful scenario to use http transport connector, Can someone give me some use cases where it is usefu

Re: HTTP transport

2013-07-25 Thread moodboom
dejanb wrote > Hi, > > there's a difference between Camel http component and ActiveMQ http > transport. Both are solid for what they've been designed to do. Thanks dejanb, and a huge thanks for all the mailing list answers over the years, they've helped me get star

Re: HTTP transport

2013-07-24 Thread Dejan Bosanac
Hi, there's a difference between Camel http component and ActiveMQ http transport. Both are solid for what they've been designed to do. Regards -- Dejan Bosanac -- Red Hat, Inc. FuseSource is now part of Red Hat dbosa...@redhat.com Twitter: @dejanb Blog: http://se

Re: HTTP transport

2013-07-24 Thread moodboom
-- View this message in context: http://activemq.2283324.n4.nabble.com/HTTP-transport-tp4014555p4669671.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Large message failure over http transport

2012-11-29 Thread mrloud
Ok, seems I was mistaken that this was happening under 5.7, I must have been hitting our 5.3.2 server. Sorry for the false alarm guys! -- View this message in context: http://activemq.2283324.n4.nabble.com/Large-message-failure-over-http-transport-tp4659891p4660006.html Sent from the ActiveMQ

Re: Large message failure over http transport

2012-11-29 Thread Christian Posta
wire, but even so when it gets to the broker, the broker will have to uncompress it and convert back from XML to an ActiveMQTextMessage which it can then handle. The marshalling/unmarhsalling combined with the XML tags will turn large messages (10MB) into much larger messages (80MB). HTTP transport

Re: Large message failure over http transport

2012-11-29 Thread Christian Posta
, mrloud wrote: > Extracted from IRC chat with cposta: > > I'm getting "IOException: Could not post command" using the http transport > on AMQ 5.7. Any tips on what I should be looking at to fix this? This is > going to be a low volume, but possibly large message size

Large message failure over http transport

2012-11-28 Thread mrloud
Extracted from IRC chat with cposta: I'm getting "IOException: Could not post command" using the http transport on AMQ 5.7. Any tips on what I should be looking at to fix this? This is going to be a low volume, but possibly large message size, server. I'm sending in a TextM

Re: http transport instead of tcp

2012-07-31 Thread Dejan Bosanac
: http://www.manning.com/snyder/ On Tue, Jul 31, 2012 at 1:32 PM, mark.waltje wrote: > That worked. Thanks! > Maybe an idea that somebody adds this to the guides for noobs like me > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/http-

Re: http transport instead of tcp

2012-07-31 Thread mark.waltje
That worked. Thanks! Maybe an idea that somebody adds this to the guides for noobs like me -- View this message in context: http://activemq.2283324.n4.nabble.com/http-transport-instead-of-tcp-tp4654580p4654590.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: http transport instead of tcp

2012-07-31 Thread Dejan Bosanac
http.message.AbstractHttpMessage > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > ... 47 more > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/http-transport-instead-of-tcp-tp4654580.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.

http transport instead of tcp

2012-07-30 Thread mark.waltje
URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 47 more -- View this message in context: http://activemq.2283324.n4.nabble.com/http-transport-instead-of-tcp-tp4654580.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

http transport as a servlet on tomcat

2012-06-28 Thread JacobS
We are using amq 5.6 in our Server alongside with tomcat and we want to use the http transport (because some clients are behind firewalls and proxy servers ). the problem is that tomcat already runs on port 80 and we want the clients to connect also on port 80. I have 2 questions. 1. I want to

Re: http transport on tomcat instead of jetty

2011-11-21 Thread Dejan Bosanac
http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Sun, Nov 20, 2011 at 9:49 PM, JacobS wrote: > Are there any plans to support tomcat as the http server ? > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/http-transport-on-tomcat-instead-of-jet

Re: use Http transport in version 5.5.0 with osgi

2011-11-20 Thread JacobS
Thanks for your help, the http transport works now. but my client gets disconnected after 60 seconds, any idea why ? How can I configure it not to disconnect ? -- View this message in context: http://activemq.2283324.n4.nabble.com/use-Http-transport-in-version-5-5-0-with-osgi-tp4088466p4089408

Re: use Http transport in version 5.5.0 with osgi

2011-11-20 Thread Johan Edstrom
ception > cause-message : Cannot construct org.apache.activemq.util.ByteSequence > as it does not have a no-args constructor > class : org.apache.activemq.command.MessageDispatch > required-type : org.apache.activemq.util.ByteSequence > path: > /org.a

Re: use Http transport in version 5.5.0 with osgi

2011-11-20 Thread JacobS
: /org.apache.activemq.command.MessageDispatch/message/content -- View this message in context: http://activemq.2283324.n4.nabble.com/use-Http-transport-in-version-5-5-0-with-osgi-tp4088466p407.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: use Http transport in version 5.5.0 with osgi

2011-11-20 Thread JacobS
Thanks, a pom would really help -- View this message in context: http://activemq.2283324.n4.nabble.com/use-Http-transport-in-version-5-5-0-with-osgi-tp4088466p4088593.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: use Http transport in version 5.5.0 with osgi

2011-11-20 Thread Johan Edstrom
You'll have to shade it if I remember correctly, can send a pom later today. On Nov 20, 2011, at 6:41, JacobS wrote: > is it possible to use the http transport in amq 5.5.0 in an osgi environment > ? > because activemq-optional is not osgified I added it to the class-path o

use Http transport in version 5.5.0 with osgi

2011-11-20 Thread JacobS
is it possible to use the http transport in amq 5.5.0 in an osgi environment ? because activemq-optional is not osgified I added it to the class-path of the bundle starting the broker, and added the imports and exports to its manifest, but I am getting exceptions telling me that the class

Re: HTTP transport

2011-11-09 Thread Dejan Bosanac
No, http transport is JMS compliant Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Nov 9, 2011 at 1

Re: HTTP transport

2011-11-09 Thread James Green
Are there operational disadvantages to using HTTP transport? I am thinking in terms of things like acknowledgements - behavioural changes like Stomp vs Openwire. James On 8 November 2011 10:14, Dejan Bosanac wrote: > Hi there are quite some folks that are using it in production, so i

Re: HTTP transport

2011-11-09 Thread Dejan Bosanac
Hi, http transport is in an optional package for the exact reason of not "polluting" activemq-core with a lot of dependencies, as it requires quite some of them, like jetty (on the server side), http-client (on the client side), xstream (and xml libs xstream needs) on both sides. Althou

Re: HTTP transport

2011-11-08 Thread Jason Dillon
gt; Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511) > Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode) > > Ending memory use all roughly: 6M/81M > > HTTP Transport - Consumer > = > > System Total Throughput: 12767

Re: HTTP transport

2011-11-08 Thread Jason Dillon
(r1075438; 2011-02-28 09:31:09-0800) java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode) Ending memory use all roughly: 6M/81M HTTP Transport - Consumer = Sy

Re: HTTP transport

2011-11-08 Thread Jason Dillon
If there are folks using this in production, then why isn't this feature in its own module and not lumped together with all the other fluff in activemq-optional? I have ~12 dependency excludes when depending on that module to keep out unwanted/unused stuff which is needed by other "optional" fe

Re: HTTP transport

2011-11-08 Thread Dejan Bosanac
Hi there are quite some folks that are using it in production, so it's stable enough. The main reason to use this protocol is if you need to go through some firewall and you can't let regular openwire traffic through it. It will basically use XStream to marshal messages to XML and send them using

Re: HTTP transport

2011-11-07 Thread James Green
This is of interest to me too. Could use a description of it's behaviour which that page does not provide. James On 8 November 2011 01:45, Jason Dillon wrote: > ... is this any good? I keep getting folks in the backseat making > tunneling over HTTP a meta-requirement. Are there any significa

HTTP transport

2011-11-07 Thread Jason Dillon
... is this any good? I keep getting folks in the backseat making tunneling over HTTP a meta-requirement. Are there any significant issues with using the http[s] transport in the activemq-optional module for this? Will use of it totally kill performance? Documentation is a bit weak here, I'v

Re: HTTP transport - consumers do not receive messages

2011-02-04 Thread Dejan Bosanac
e, > especially if expire time is relatively small (like 30 seconds). > On the other hand isn't it possible to exchange timestamp messages between > broker and consumers so that consumers were aware of the broker's time (and > vice versa ?) > -- > View this message in co

Re: HTTP transport - consumers do not receive messages

2011-02-04 Thread lukast
vice versa ?) -- View this message in context: http://activemq.2283324.n4.nabble.com/HTTP-transport-consumers-do-not-receive-messages-tp3259132p3260003.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: HTTP transport - consumers do not receive messages

2011-02-04 Thread Dejan Bosanac
ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Feb 3, 2011 at 11:35 PM, lukast wrote: > > Hi, > > I am using ActiveMQ 5.4.2 and HTTP transport. > On server A there is a web application with embeded ActiveMQ > broker.(Tomacat >

HTTP transport - consumers do not receive messages

2011-02-03 Thread lukast
Hi, I am using ActiveMQ 5.4.2 and HTTP transport. On server A there is a web application with embeded ActiveMQ broker.(Tomacat Web Container) On server B there is ActiveMQ client application configured using Spring DefaultMessageListenerContainer. (Tomcat Web Container) After startup of both

Re: Sanity Check: HTTP Transport and REST same or different?

2010-04-08 Thread Dejan Bosanac
Hi Mike, you're right, HTTP transport and REST API are two different things. You should be fine with just setting appropriate transport connector and using that URL in your JMS client. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ Act

Sanity Check: HTTP Transport and REST same or different?

2010-04-07 Thread Mike Rawlins
ry much, Mike -- View this message in context: http://old.nabble.com/Sanity-Check%3A-HTTP-Transport-and-REST-same-or-different--tp28169562p28169562.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Bytesmessage and http transport

2010-02-16 Thread Rob Davies
a reproducible test case? 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 Tue, Feb 16, 2010 at 10:05 AM, muadd wrote: Hi, I've encountered simil

Re: Bytesmessage and http transport

2010-02-16 Thread muadd
; -- View this message in context: http://old.nabble.com/Bytesmessage-and-http-transport-tp21974419p27610461.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Bytesmessage and http transport

2010-02-16 Thread Dejan Bosanac
t; 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 > > > > > > > &g

Re: Bytesmessage and http transport

2010-02-16 Thread Timothy Bish
Is there a chance you can provide a > > reproducible test case? > > > > Cheers > > -- > > Dejan Bosanac - http://twitter.com/dejanb > > > > Open Source Integration - http://fusesource.com/ > > ActiveMQ in Action - http://www.manning.com/snyder/ > &g

Re: Bytesmessage and http transport

2010-02-16 Thread muadd
an 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 Tue, Feb 16, 2010 at 10:05 AM, muadd wrote: > >> >> Hi, >> &

Re: Bytesmessage and http transport

2010-02-16 Thread Dejan Bosanac
, 2010 at 10:05 AM, muadd wrote: > > Hi, > > I've encountered similar problem with http transport. When I try to get a > message with 100KB+ payload (tried TextMessage and MapMessage), I get: > > 2010-02-16 09:37:28,147 | WARN | / | org.mortbay.log | btpool0-1 - / > j

Re: Bytesmessage and http transport

2010-02-16 Thread muadd
Hi, I've encountered similar problem with http transport. When I try to get a message with 100KB+ payload (tried TextMessage and MapMessage), I get: 2010-02-16 09:37:28,147 | WARN | / | org.mortbay.log | btpool0-1 - / java.io.UTFDataFormatException: encoded string too long: 219486

HTTP transport + Streaming

2010-01-28 Thread uprooter
Hello. I know I'm getting away from JMS but since Streaming is supported and HTTP transport is also available I'd like to know if it's possible or have anyone tried using Streaming via HTTP? The advantage is huge as HTTP transport is sometimes the only way to do NAT traversal. A

Maximum number of connections with HTTP Transport (Jetty)

2010-01-26 Thread jgunz
://old.nabble.com/Maximum-number-of-connections-with-HTTP-Transport-%28Jetty%29-tp27330057p27330057.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

JBOSS and ActiveMQ - enable http transport

2009-11-30 Thread RJtokenlanring
Hi, I have integrated activeMQ 5.3 into Jboss 4.2.3. It works fine with tcp and vm tranport. But I now I have to configure HTTP and HTTP tansport. I've seen that http transport is done via Jetty server: there is no way to use the provided JBoss tomcat? Could you provide me a broker-confi

failover not working on unplugging cable with http transport

2009-04-16 Thread Khurram Zaman
hi, I have a 3 machine setup in which I have configured a pure master slave broker topology. I have 1 client machine and 1 master and 1 slave. The client is using failover uri and it works good when I use tcp transport. When I switch to http transport, the problem is that failover doesnt

Re: Bytesmessage and http transport

2009-02-13 Thread Dejan Bosanac
Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Feb 12, 2009 at 12:45 PM, libert wrote: > > Hi, > > I'm trying to send a BytesMessage (size : 1 MB max) using HT

Bytesmessage and http transport

2009-02-12 Thread libert
Hi, I'm trying to send a BytesMessage (size : 1 MB max) using HTTP transport but it does not work. In the ActiveMQ console, I get this : java.io.UTFDataFormatException: encoded string too long: 208555 bytes If I switch to openwire TCP, program is working fine ... Is there any message

Re: HTTP Transport Configuration with Tomcat

2009-01-15 Thread Dejan Bosanac
Hi, the http transport is implemented with jetty server, so there is no way run it with Tomcat. Note that http transport is not just a web application / servlet and cannot be used out the ActiveMQ. As for the client question, your client using hhtp transport should behave as any regular JMS

Re: HTTP Transport Configuration with Tomcat

2009-01-14 Thread msatyadi
r reason you prefer the http transport over the > default tcp one? Http transport has many drawbacks and if you have Java > clients, tcp should be the way to go. > > Cheers > -- > Dejan Bosanac > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action

Re: HTTP Transport Configuration with Tomcat

2009-01-14 Thread Dejan Bosanac
Hi, is there any particular reason you prefer the http transport over the default tcp one? Http transport has many drawbacks and if you have Java clients, tcp should be the way to go. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http

HTTP Transport Configuration with Tomcat

2009-01-13 Thread msatyadi
p transfer take care of the polling of events? Any pointers would be greatly appreciated. Thank you! -- View this message in context: http://www.nabble.com/HTTP-Transport-Configuration-with-Tomcat-tp21449577p21449577.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How do i configure the http transport connector to use a proxy?

2008-05-07 Thread j0llyr0g3r
s://issues.apache.org/activemq/browse/AMQ-1099 this should not be necessary. Any ideas? -- View this message in context: http://www.nabble.com/How-do-i-configure-the-http-transport-connector-to-use-a-proxy--tp16964261s2354p17109982.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

How do i configure the http transport connector to use a proxy?

2008-04-29 Thread j0llyr0g3r
Hi folks, after i have figured out this problem (will be updated in the AMQ documentation soon): http://www.nabble.com/Standard-http-connector-example-not-working--td16937377s2354.html i am having a new problem: How do i configure the http transport connector to use a proxy? I looked into

Re: Using http transport from a Perl client

2008-03-03 Thread James Strachan
n you > suggest which one will be the most suitable in terms of guaranteed message > delivery? Raw performance is not really an issue as we are not looking at > message rates beyond a few hundred messages per second. And can you point me > to some working Perl code using Http tran

Re: Using http transport from a Perl client

2008-02-28 Thread Ramit Arora
not really an issue as we are not looking at message rates beyond a few hundred messages per second. And can you point me to some working Perl code using Http transport & REST? Thanks, Ramit Arora James.Strachan wrote: > > To talk to ActiveMQ via Perl, use the Perl Stomp client... >

Re: Using http transport from a Perl client

2008-02-28 Thread James Strachan
Connection.handle(HttpConnection.java:379) > at > > org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) > at > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) > > How can I send http messages from Perl? > > Thanks, > Ramit Arora > > > -- > View this message in context: > http://www.nabble.com/Using-http-transport-from-a-Perl-client-tp15738834s2354p15738834.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- James --- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com

Using http transport from a Perl client

2008-02-28 Thread Ramit Arora
) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) How can I send http messages from Perl? Thanks, Ramit Arora -- View this message in context: http://www.nabble.com/Using-http-transport-from-a-Perl-client-tp15738834s2354p15738834.html Sent from the Act

Re: Problem configuring HTTP Transport connector

2007-10-05 Thread jeev
TransportConnector.start(TransportConnector.java:220) > at > org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:1519) > at > org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1471) > at > org.apache.activemq.broker.BrokerService.start(BrokerService.java:402) > at > org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:47) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029) > ... 23 more > -- View this message in context: http://www.nabble.com/Problem-configuring-HTTP-Transport-connector-tf4576103s2354.html#a13062422 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Problem configuring HTTP Transport connector

2007-10-05 Thread jeev
ory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029) ... 23 more -- View this message in context: http://www.nabble.com/Problem-configuring-HTTP-Transport-connector-tf4576103s2354.html#a13062107 Sent from the ActiveMQ - User mailing list archive at Nabble.com.