Hi,
im really sorry if this is some "newbie"-question, but after 2h+ of searching im pretty sure its not explained anywhere in the trails/faq/etc. (Maybe im just lacking some background knowledge, donno)
Im using Message Driven POJO's as explained in this trail:
http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/mdpojo/
I have figured out that "@PostConstruct" allows you to place init-code on a Consumer, and this works fine so far.
But whats the "Destroy"-equivalent, to clean up?
@PreDestroy
and
@Remove
Both dont work.
Thanks,
Helmuth
Any ideas?
I still couldnt find a solution to this.