Jump to content

Question - How can I implement SSL (certificate) in this code for secure calling. Could you please share some reference or code sample to implement SSL to integrate Tibco.EMS.DLL file to call JMS service


Baljeet Kumar

Recommended Posts

Question -How can I implement SSL (certificate) in this code for secure calling. Could you please share some reference or code sample to implement SSL to integrate Tibco.EMS.DLL file to call JMS service.

Without SSL connect to Tibco EMS (.Net Core C#) with the following code

queueFactory = contextLookup == string.Empty ? new TIBCO.EMS.QueueConnectionFactory(serverUrl) : (QueueConnectionFactory)lcxt.Lookup(contextLookup);

        QueueConnection connection = queueFactory.CreateQueueConnection(userName, password);

        connection.Start();

        QueueSession session = connection.CreateQueueSession(false, TIBCO.EMS.SessionMode.AutoAcknowledge);

        TIBCO.EMS.Queue queue = session.CreateQueue(requestQueueName);

        QueueSender sender = session.CreateSender(queue);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...