Allow JNDI lookup from within Spring application context?

In our Spring application, we are using clustered Hibernate Search with ActiveMQ, which sets up some objects via JNDI. These objects are configured using the Spring application context and I am looking for a way to resolve JNDI calls to these objects.

All I could find was JNDI lookup from Spring context.

We need it the other way around: enable JNDI lookups from within the Spring application context.

Any pointers are appreciated.

+2


source to share


1 answer


This recipe by James Strachan might be the way to go, but I need to check.



0


source







All Articles