activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Configuration for topic/queue and persistence selection
Date Mon, 03 Jul 2006 08:09:39 GMT
On 7/3/06, Kuppe <> wrote:
> I was reading about your support for jndi using the file. I
> assume that this provides a generic way to get a configured destination by
> name, so that the type of destination (topic/queue) will be transparent to
> the user of the destination. The destination will be looked up in the jndi
> context and returned as configured in the property file.


> Is it possible to somehow externalize other aspects such as transacted
> sessions, persistent producers etc???

Unfortunately these configurations are specified when you create a
session/producer from a ConnectionFactory - so there's no way to put
these configurations in JNDI.

You could use a JmsTemplate and use dependency injection.



View raw message