* fixed closing the JMS connection
* check batch on ack/fail
introduced MessageId class to cover batch- and jmsMessageID