java - Creating temporary JMS jms topic in Spring -
I try to use spring to handle JM connections for mainframe service, trying to rebuild some legacy code I am here. I need to connect to make a temporary topic for the mainframe service answer and it needs to be set that the message
Does anyone provide examples of this? I have not found anything in the documentation that allows you to get a low-level JM object like session or subject connection to create a temporary topic.
If you use the JmsTemplate
by using the JMS API's low-level access You need to use one of the methods, the easiest of these, where the session callback provides you JMS session object. With that, you can call createTemporaryQueue ()
or createTemporaryTopic ()
. You can probably use any other implementation () methods, although some do the initial work, such as
Comments
Post a Comment