users@glassfish.java.net

JMS exception causing resending message :(

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Tue, 22 Sep 2009 20:18:45 +0200

again I am facing this problem .. and again lost :)

in my method:

        private PujUserEntity createNewCustomer(Message registration) {
                try {
                           .....
                } catch (Exception error) {
                        logger.log(Level.WARNING, "unable to create user [login= " + login
                                        + ", email=" + email, error);
                }
                return user;
        }


and when the code causes a JPA exception, the message is sent again to
the Queue...

How do I digest the message in a way it never more is delivered ?

-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl