To send a service component execution request to the standard asynchronous reception (MDB (WS-R)), create a QueueSender object and a JMS message, and send the created JMS message to the transmission queue. For details about developing an application for sending JMS messages, see the manual Cosminexus Application Server Cosminexus Reliable Messaging.
To create a JMS message:
Context ic = new InitialContext(); |
QueueSession qSession |
qSender = qSession.createSender(queue); |
TextMessage textMessage = qSession.createTextMessage(); |
BytesMessage bytesMessage = qSession.createBytesMessage(); |