Thank you...i think that i found another problem in this context:
Really Thanks again.Code:<beans:bean id="outQueue" class="org.springframework.jndi.JndiObjectFactoryBean" depends-on="PLUGCacheManager"> <beans:property name="jndiTemplate" ref="jndiTemplate" /> <beans:property name="jndiName" value="#{ PLUGCacheManager.queueReference }" /> <beans:property name="resourceRef" value="true" /> <beans:property name="lookupOnStartup" value="true" /> <beans:property name="proxyInterface" value="javax.jms.Destination" /> <!--<beans:property name="cache" value="false"/> --></beans:bean> I get the error MQJMS0003: Destinazione non corretta o non pił valida; nested exception is javax.jms.InvalidDestinationException: MQJMS0003: Destinazione non corretta o non pił valida like i told before. I try with javax.jms.Queue and expectedType com.ibm.mq.MQQueue but i get the same error. Why if i set lookupOnStartup to true and i set the proxyInterface (or expectedType) too i get this error? What is the problem in this case?
IlPistolero



Reply With Quote