Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JmsAdapter DOM Parsing Exception handling

mathieu.dJan 28 2014 — edited Jan 31 2014

Hi,

I'm currently facing a problem with the behaviour of the Jms Adapter.

Whenever a JMS message is put in the queue and that message is not XML valid, the Jms Adapter (consumer) throw the exception "DOM Parsing Exception in translator Exception".

That's fine, I understand that the message was not well formed. But what is not fine is that the underlying BPEL is not instanciated : meaning I can't handle the exception properly.

Is there a way to force the Jms Adapter not to crash on the DOM Parsing for the BPEL to be instanciated (and then being able to handle the exception there) ?

Or is there a way to handle the error thrown by the Jms Adapter itself ? How ?

I think I do have a workaround to this if there is no better option (if both above questions cannot be answered) but I would rather not implement it since it will involve some extra steps / complexity.

> It would be to check the "native format opaque schema" option and then use a java embedded to decode the base64 into a string for eventually parsing it.

regards,

mathieu

This post has been answered by vladodias on Jan 28 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 28 2014
Added on Jan 28 2014
7 comments
3,028 views