Skip to Content
0
Former Member
Aug 04, 2006 at 01:35 PM

error with the xmlpayload in a J2EE module

18 Views

Hello,

I've created an adapter in order to send the messages only when it is time.

My problem is that when it is not time, I must stop the process. I thought about two ways to do so :

- throw an exception (UnsupportedOperationException for example)

- Modify the data in the xml object (xmlpayload) : erase all the data, erase the xml structure, value the xmlpayload with null...

With the first method, I can't see the messages in the AuditLog nor in the Integration engine-> Monitoring.

With the second method, I get an exception whatever change I make in the xmlPayload.

Has anybody any idea on the best way to proceed?

Regards

Yann