JmsQueue Project
The JmsQueue project contains two adapter configurations: JMSQueueReader.adfilesmodel and JMSQueueWriter.adfilesmodel. The sample project shows how the adapter uses the JMS queue transport to send messages.
In JMSQueueReader.adfilesmodel, Publication Service parses each line in the jmsqueue.txt file into objects. Each object is published as a message using the JMS queue transport to the jmsq destination.
In JMSQueueWriter.adfilesmodel, Subscription Service subscribes to messages using the JMS queue transport, and writes them to the outjmsqueue.txt file. It listens on the jmsq destination. The Connection Factory field is QueueConnectionFactory, and the Delivery Mode field is Durable. Therefore, the messages are held in the queue by the JMS server until Subscription Service consumes them.