Samanthi perera wrote:It should be msg.setRollbackOnly() Because there is no mdc variable here. @Resource private MessageDrivenContext mdc; ...
[My Blog] [JavaRanch Journal]