I have written some code for getting message and transforming it into SOAP message.But here the compiler is not executing the next line of SOAPMessage soapMessage = MessageTransformer.SOAPMessageFromJMSMessage(bytesMessage, messageFactory);
Can anyone let me know where i am wrong or what need to be done for transform the JMS message to SOAP.
Why would you want to create a soap message manually if you're receiving a jms message?
I would reconsider your architecture and would do a SOAP over JMS implementation even if this is not my favorite design pattern :
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.