I have been trying today to lookup the JMS connection factory on my local JBOSS server to use it from the JMS template via Spring...
Not much luck so far basically it says connection factory not bound, so it seems it cannot find it...
I tried following some posts on this forum to set the properties of the environement in the applicationContext.xml as follows to resolve this problem:
<bean id="connectionFactory" class="org.springframework.jndi.JndiObjectFactoryB ean">
<prop key="java.naming.factory.initial">org.jnp.interfac es.NamingContextFactory</prop>
<prop key="java.naming.factory.url.pkgs">org.jboss.namin g:org.jnp.interfaces</prop>
As per one of the posts in this forum, but then it throws an exception stating environment property cannot be written to ??
This is a stand allone java application so not much use using web.xml to pass in jndi references etc..
Hopefully somebody will have some suggestions or examples on how to get a stand allone java appliation to talk JMS trough to JBOSS MQ
THanks and sincere greetings,
Leo de Blaauw