<mbean code="org.jboss.naming.ExternalContext" name="jboss.jndi:service=ExternalContext,jndiName=external/ems"> <attribute name="JndiName">external/ems</attribute> <attribute name="Properties"> java.naming.factory.initial=com.tibco.tibjms.CompanionContext java.naming.provider.url=external queues=test.bw1,test.fw1 topics=topic1 </attribute> <attribute name="InitialContext">com.tibco.tibjms.CompanionContext</attribute> <attribute name="RemoteAccess">true</attribute> </mbean> @Resource(mappedName = "external/ems/test.fw1", name = "external/ems/test.fw1") private Queue testFw1 = null;//CompanionContext implements own lookup() methods
wtorek, sierpnia 12, 2014
How to merge external context with JBoss global context
Subskrybuj:
Komentarze do posta (Atom)
0 komentarze:
Prześlij komentarz