Re: How to dynamically create JNDI Context Resources

2011-05-23 Thread John Fletcher
Thanks... I thought the answer was along those lines but the library I'm using was constraining me to use JNDI. However I now looked into their source code and found a clean way around JNDI. Your answer got me motivated in the right direction, thankyou. John 2011/5/23 Mikolaj Rydzewski > On Mon

Re: How to dynamically create JNDI Context Resources

2011-05-23 Thread Mikolaj Rydzewski
On Mon, 23 May 2011 10:34:28 +0200, John Fletcher wrote: The challenge is that the JMS topics I want to make available to the library depend on some runtime information, i.e. I want my application to create the JMS topics dynamically. Is there a way that I can create these JNDI resources at ru

Re: How to dynamically create JNDI Context Resources

2011-05-23 Thread John Fletcher
Resending this as it didn't arrive in my inbox... sorry if you received it already... 2011/5/20 John Fletcher > In my application I'm using a library which uses JNDI to locate JMS topics > and then operates with them. > > I successfully configured JNDI references to the JMS topics like this in >

How to dynamically create JNDI Context Resources

2011-05-20 Thread John Fletcher
In my application I'm using a library which uses JNDI to locate JMS topics and then operates with them. I successfully configured JNDI references to the JMS topics like this in Context.xml, and everything works nicely: The challenge is that the JMS topics I want to make available to t