|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMSOutput node |
« View previous topic :: View next topic » |
Author |
Message
|
sravan |
Posted: Mon Apr 07, 2014 5:18 am Post subject: JMSOutput node |
|
|
Centurion
Joined: 02 Apr 2010 Posts: 104 Location: Charlotte
|
I am trying to use a JMS provider not listed on the JMSOutput node in the list of JMS provider name called Solace,I have the jms jar files related to it and sucessfully did JNDI look up and retrived queue information using Java compute node and sent messages to the Solace queue.(by adding jars in class path and in EG using bar file deployment).
I am trying to use the JMSOut put node instead and need to set few additional properties as below.
Please let me know how it can be done in ESQL or Java compute node or in the Configurable service.
I am looking for swetting below proerties -
SECURITY_PRINCIPAL,SOLACE_JMS_SSL_VALIDATE_CERTIFICATE,SOLACE_JMS_VPN
Hashtable<String, Object> env = new Hashtable<String, Object>();
env.put(c.INITIAL_CONTEXT_FACTORY,"com.solacesystems.jndi.SolJNDIInitialContextFactory" );
env.put(InitialContext.PROVIDER_URL, providerUrl);
env.put(InitialContext.SECURITY_PRINCIPAL, SecurityPrincipal);
// env.put(Context.SECURITY_CREDENTIALS, password);
// enables the use of smfs:// without specifying a trust store
env.put(SupportedProperty.SOLACE_JMS_SSL_VALIDATE_CERTIFICATE, false);
env.put(SupportedProperty.SOLACE_JMS_VPN, SolaceVpn);
Destination destination =null;
// Create InitialContext.
InitialContext initialContext = new InitialContext(env);
Connection connection = null;
// Lookup ConnectionFactory.
ConnectionFactory cf = (ConnectionFactory)initialContext.lookup(ConnectionFactory);
Thanks. _________________ skr_wmb |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|