if(message instanceof ObjectMessage) {
ObjectMessage oMessage = (ObjectMessage)message;
try {
Object messageObject = oMessage.getObject();
if(messageObject instanceof ReceivedMessage) {
ReceivedMessage incomingMessage = (ReceivedMessage)messageObject;
Invocation invocation = incomingMessage.getInvocation();
Group group = invocation.getGroup(); // group and group.clientProject must have been initialized (no lazy Hibernate loading possible here)
Session session = HibernateSessions.startTransaction(getClass(),group.getId(),group.getClientProject().getHibernateConfigurationFile());
try {
session.load(invocation,invocation.getId()); // reload because from different session; this may actually fail if the invocation entry was deleted