Hi Charles, I think HTTP transport will be faster than REST stuff. I just suggested every HTTP traffic will be slower than default OpenWire over tcp transport, especially tuned for messages. I'm not sure what throughput you expect, but I'd give it a try.
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 Thu, Oct 29, 2009 at 11:24 AM, cmoulliard <cmoulli...@gmail.com> wrote: > > Hi Dejan, > > So, it makes no sense to use ActiveMq with HTTP transport in this case but > perhaps a solution like OSGI remoting (in this case) : > http://cxf.apache.org/distributed-osgi-reference.html or maybe using Camel > + > RESTful services to expose services on the distant OSGI server. > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***************************** > blog : http://cmoulliard.blogspot.com > twitter : http://twitter.com/cmoulliard > > > Dejan Bosanac wrote: > > > > Hi Charles, > > > > http transport should work just like a regular tcp transport. The only > > thing > > is that it is slower, since messages are encoded to xml when they're on > > the > > wire. > > > > 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 Thu, Oct 29, 2009 at 10:08 AM, cmoulliard <cmoulli...@gmail.com> > wrote: > > > >> > >> Does it make sense to design a topology like this between different > >> osgi servers to propose remote services though an ActiveMq queue playing > >> the > >> role of osgi server integrator ? > >> > >> 1) Bundle A > >> > >> This bundle contains a spring DSL xml file with routes defined like this > >> : > >> > >> from(). > >> .to() > >> .to() > >> .to(ActiveMq:queueOut) > >> > >> and service waiting feedback > >> > >> from(ActiveMq:queueIn). > >> .to() > >> > >> deployed on server OSGI (1) > >> > >> 2) Bundle B > >> > >> from(ActiveMq:queueOut). > >> .to() // Service replying to the request > >> .to(ActiveMq:queueIn) > >> > >> deployed in server OSGI (2) > >> > >> Additional question : > >> > >> Are there any restrictions if we use HTTP transport connector of > ActiveMq > >> to > >> place Java object on the queue (size, serialization, ....) ? > >> > >> Regards, > >> > >> ----- > >> Charles Moulliard > >> SOA Architect > >> > >> My Blog : http://cmoulliard.blogspot.com/ > >> http://cmoulliard.blogspot.com/ > >> -- > >> View this message in context: > >> > http://www.nabble.com/ActiveMQ---HTTP---Remoting-tp26109373p26109373.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 > > > > > ----- > Charles Moulliard > SOA Architect > > My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ > -- > View this message in context: > http://www.nabble.com/ActiveMQ---HTTP---Remoting-tp26109373p26110509.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >