Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rollback Outgoing Message in Generic Java eWay

Status
Not open for further replies.

cliffblob

Programmer
Aug 26, 2002
8
US
Anyone had any luck rolling back from a generic java eWay? The documentation suggests that if you throw the CollabResendException from the processOutgoing(byte[] outEvent) method this will rollback outEvent but in our experience this does not work. I have tried throwing CollabConnException, CollabDataException, and CollabResendException but none rolls back the message. I have also tried invoking EGate.eventRollbackToEgate() but this throws an error, I suspect it is only valid in the context of a java collab.

I am considering converting the eWay to multimode which rolls back if you return false from the executeBusinessRules() method but would prefer to just fix what we have.

Any advice? Thanks. -Ben
 
Please disregard this thread, as it turns out the exceptions were being trapped in a super class of the class which was throwing the exceptions so the error was never raised to eGate.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top