activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <hi...@hiramchirino.com>
Subject Re: Java Stomp client - connection and session handling
Date Wed, 27 Feb 2013 15:43:21 GMT
Hi Diego,

So ActiveMQ has a JMS API wrapper that can under the covers proxy the
sessions from the wrapped connection.  Perhaps we should try to port that
to work with stompjms too.


On Fri, Feb 22, 2013 at 9:46 AM, diegoc <diegocarpintero@hotmail.com> wrote:

> Hi there
>
> I am using this Stomp client:
>
> http://grepcode.com/project/repo1.maven.org/maven2/org.fusesource.stompjms/stompjms-client/
>
> I have seen in the code and in the apache logs that for each session a new
> physical connection is created to the apollo server.
>
> My idea was to have one shared connection (or a pool) and then multiple
> sessions to avoid so many connection start's and close's.
>
> I tried with one shared session and several producers and it was slower
> than
> creating a new session each time.
>
> Does anyone know how to avoid the creation of a physical connection for
> each
> session?
>
> Thanks in advance
> Diego
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Java-Stomp-client-connection-and-session-handling-tp4663929.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 

**

*Hiram Chirino*

*Engineering | Red Hat, Inc.*

*hchirino@redhat.com <hchirino@redhat.com> | fusesource.com | redhat.com*

*skype: hiramchirino | twitter: @hiramchirino<http://twitter.com/hiramchirino>
*

*blog: Hiram Chirino's Bit Mojo <http://hiramchirino.com/blog/>*

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