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>j...
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">org.jnp.interfaces....
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">127.0.0.1:1099</...
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">org.jnp.interfaces&...
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">queue</jbossesb:...
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">queue/ourqueue</...
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">1.1</jbossesb:sp...
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">ConnectionFactory&l...
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">true</jbossesb:p...
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">AUTO_ACKNOWLEDGE<...
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">false</jbossesb:...
xmlns:jbossesb="
http://schemas.jboss.com/ws/2007/01/jbossesb
http://schemas.jboss.com/ws/2007/01/jbossesb">urn:jboss/esb/epr/t...
/><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&...]