I have written a code, which is subscribing message from UM queue using local transaction(UM_LOCALTRANSACTION) and fetching some lookup in the database using local transaction(DB_LOCALTRANSACTION). Then publishing to the UM Topic using local transaction (UM_LOCALTRANSACTION).
Here i am getting the below error
[7162]2019-01-29 11:30:41 GMT [ISS.0134.0088E] Rejecting incoming message for trigger: <ServiceName***>, documentID: ID:10.13.178.13:39460(20). Delivery Count has exceeded 100 attempts.
[7161]2019-01-29 11:30:41 GMT [ISS.0134.0021E] Error delisting resource from transaction: java.lang.IllegalStateException: commit failed. more than one local transaction enlisted.
[7160]2019-01-29 11:30:41 GMT [SCC.0121.0026E] delisted transaction commit failed: java.lang.IllegalStateException: commit failed. more than one local transaction enlisted. xid = <ServerName**>/1548655492942
[7159]2019-01-29 11:30:41 GMT [SCC.0121.0990E] XA Transaction Logging: commitResources-IllegalStateException for xid: /1548655492942 → java.lang.IllegalStateException: commit failed. more than one local transaction enlisted.
[7158]2019-01-29 11:30:41 GMT [SCC.0121.0034E] commit failed: more than 1 local trans enlisted. xid = [FormatId=45744, GlobalId=<ServerName*****>/1548655492942, BranchQual=2] rxid = {2}
Can anyone suggest me the solution?