Package org.apache.geronimo.jms.test.mdb.to

Examples of org.apache.geronimo.jms.test.mdb.to.SimpleTransferObject.markProcessed()


            throw new ProcessingException("Object received in message is null");
        } else if (!SimpleTransferObject.class.isInstance(obj)) {
            throw new ProcessingException(MessageFormat.format("Invalid class of object {0} included in received message", obj.getClass()));
        } else {
            SimpleTransferObject to = (SimpleTransferObject) obj;
            to.markProcessed();
            return to;
        }
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.