[jboss-dev-forums] [jBPM Development] - Re: JBPM process sends corrupted JMS Messages

Fady Magdy do-not-reply at jboss.com
Sat Mar 3 08:52:45 EST 2012


Fady Magdy [https://community.jboss.org/people/fmagdy] created the discussion

"Re: JBPM process sends corrupted JMS Messages"

To view the discussion, visit: https://community.jboss.org/message/721329#721329

--------------------------------------------------------------
Dear Mauricio 

Thank you for your reply, I changed the  title to be more relevant   :)  ,  after some more digging, the error was just a size issue, the problem now Is that the message comes corrupted without errors, so the message.getbody().body() is not able to get the message body  so it returns the whole JMS message, the strange thing is that this only happens when the workflow is published, any idea what might be the reason, below is a sample of the message 

the send() method is called from within an action handler of a node in a bpmn process


<Envelope><Header xmlns:wsa=" http://schemas.xmlsoap.org/ws/2004/08/addressing http://schemas.xmlsoap.org/ws/2004/08/addressing"><wsa:To>jms:127.0.0.1:1099#queue/ourqueue</wsa:To><jbossesb:java.naming.factory.initial xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">org.jnp.interfaces.NamingContextFactory</jbossesb:java.naming.factory.initial><jbossesb:java.naming.provider.url xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">127.0.0.1:1099</jbossesb:java.naming.provider.url><jbossesb:java.naming.factory.url.pkgs xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">org.jnp.interfaces</jbossesb:java.naming.factory.url.pkgs><jbossesb:destination-type xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">queue</jbossesb:destination-type><jbossesb:destination-name xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">queue/ourqueue</jbossesb:destination-name><jbossesb:specification-version xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">1.1</jbossesb:specification-version><jbossesb:connection-factory xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">ConnectionFactory</jbossesb:connection-factory><jbossesb:persistent xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">true</jbossesb:persistent><jbossesb:acknowledge-mode xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">AUTO_ACKNOWLEDGE</jbossesb:acknowledge-mode><jbossesb:transacted xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">false</jbossesb:transacted><jbossesb:type xmlns:jbossesb=" http://schemas.jboss.com/ws/2007/01/jbossesb http://schemas.jboss.com/ws/2007/01/jbossesb">urn:jboss/esb/epr/type/jms</jbossesb:type><wsa:MessageID>d14e36a2-d5a1-44a8-bc9f-d9fab4c84423</wsa:MessageID></Header><Context /><Body><Content><Key>b3JnLmpib3NzLnNvYS5lc2IubWVzc2FnZS5kZWZhdWx0RW50cnk=</Key><Value><marshalunmarshal><plugin-type>urn:xml/marshalunmarshal/plugin/serialization</plugin-type>rO0ABXQAizxUcmFuc2FjdGlvbj48VHJhbnNhY3Rpb25JZD4zMDg8L1RyYW5zYWN0aW9uSWQ+PFRyYW5zYWN0aW9uTmFtZT5OYW1lPC9UcmFuc2FjdGlvbk5hbWU+PFRyYW5zYWN0aW9uRGF0ZT5udWxsPC9UcmFuc2FjdGlvbkRhdGU+PC9UcmFuc2FjdGlvbj4=</marshalunmarshal></Value></Content></Body><Attachment /><Properties><Property><Key>b3JnLmpib3NzLnNvYS5lc2IubWVzc2FnZS50cmFuc3BvcnQudHlwZQ==</Key><Value>rO0ABX5yAC9vcmcuamJvc3Muc29hLmVzYi5jb21tb24uRW52aXJvbm1lbnQkVHJhbnNwb3J0cwAAAAAAAAAAEgAAeHIADmphdmEubGFuZy5FbnVtAAAAAAAAAAASAAB4cHQAA0pNUw==</Value></Property><Property><Key>amF2YXguam1zLm1lc3NhZ2UucmVkZWxpdmVyZWQ=</Key><Value>rO0ABXNyABFqYXZhLmxhbmcuQm9vbGVhbs0gcoDVnPruAgABWgAFdmFsdWV4cAA=</Value></Property><Property><Key>b3JnLmpib3NzLnNvYS5lc2IubWVzc2FnZS5zb3VyY2U=</Key><Value>rO0ABXQANVBvcnRSZWZlcmVuY2UgPCBqbXM6MTI3LjAuMC4xOjEwOTkjcXVldWUvU1BBUktRdWV1ZSA+</Value></Property><Property><Key>b3JnLmpib3NzLnNvYS5lc2IuZ2F0ZXdheS5vcmlnaW5hbC5xdWV1ZS5uYW1l</Key><Value>rO0ABXQAEHF1ZXVlL1NQQVJLUXVldWU=</Value></Property></Properties></Envelope>

thanks,
fmagdy
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/721329#721329]

Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120303/84a885ff/attachment.html 


More information about the jboss-dev-forums mailing list