|
If you write a separate client app to access JMS
messages you need to have jndi.properties file or you need to provide the
properties to the InitialContext. Here aret the steps to write a separate
client app which runs outside the orion environment.
1) In your jms.xml don't have any connection
factory just declare your topics/queues
2) Either have jndi.properties in the class path
with the following contents
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
java.naming.provider.url=ormi://localhost/ java.naming.security.principal=admin java.naming.security.credentials=admin Or create a Hashatble with the
above key, values and pass to the InitialContext constructor.
3) If you are using orion1.4.8 which creating
connection from factory pass username/password as a paramters to
factory.createXXXConnection(username, password).
I hope this will work.
|
- HELP! 1.4.5 and JMS Vidur Dhanda
- Solved: HELP! 1.4.5 and JMS Vidur Dhanda
- RE: HELP! 1.4.5 and JMS Kesav Kumar
- Re: HELP! 1.4.5 and JMS Vidur Dhanda
- Re: HELP! 1.4.5 and JMS Kesav Kumar
- Re: HELP! 1.4.5 and JMS Vidur Dhanda
- Re: HELP! 1.4.5 and JMS venkat
- Re: HELP! 1.4.5 and JMS Vidur Dhanda
- RE: HELP! 1.4.5 and JMS Kesav Kumar
- RE: HELP! 1.4.5 and JMS Kesav Kumar
- RE: HELP! 1.4.5 and JMS Su, Yi
- RE: HELP! 1.4.5 and JMS elephantwalker
- Re: HELP! 1.4.5 and JMS Kesav Kumar
- Re: HELP! 1.4.5 and JMS Scott Hernandez
- RE: HELP! 1.4.5 and JMS Joseph B. Ottinger
