SonicMQ Broker Client JMS Connection Pooling?

Posted by cwiseman on 21-Nov-2011 10:08

We've built some services that make use of the broker/message layers but are not part of the XQ layer in standard/custom ESB Services.

Connections are required to obtain sessions for receivers, senders, etc.  Does Sonic have a facility to configure or establish a connection pool in a broker or cluster of brokers for a specific client use?  I see Spring has a class that could be wired up to establish a JMSConnectionFactory for pooled connections and cached session use, but wondered if Sonic had built this around its brokers for broker clients.

Thanks.

All Replies

Posted by flmorello on 29-Nov-2011 08:26

Hi Chris,

You should use the built-in sonic JNDI store to do that. I think that endpoints connections are already stored in JNDI, but if not, look at the JMS Administered Objects in documentation. You should also look at the samples for JMS clients, I'm pretty sure you will find an example in it.

Regards,

Florian

This thread is closed