Re: Developing a MessageDrivenBean

2007-05-23 Thread Jochen Zink
is not available. It would be nice to configure a duration time after the message is redelivered. Regards Jochen -Ursprüngliche Nachricht- Von: user@geronimo.apache.org Gesendet: 22.05.07 17:25:52 An: user@geronimo.apache.org Betreff: Re: Developing a MessageDrivenBean I am not really

Developing a MessageDrivenBean

2007-05-22 Thread Jochen Zink
Hello, I have a simple MDB which works as a JMSReceiver. The MDB subscribes to a JMS-Topic. Everything works fine. If a new message is published to the Topic, the MDBs onMessage Method is called. I want, that the bean can receive the same message over again, If an error inside the bean is

Re: Developing a MessageDrivenBean

2007-05-22 Thread David Jencks
I am not really an mdb/jms expert so there may be a way to do this with acknowledgements. However one sure way to do this is with transactional delivery. If the mdb can't process the message it can call setRollbackOnly on the MessageDrivenContext. According to what I've heard this