This content has been marked as final. 
    
Show                 4 replies
    
- 
        
1. Re: MDB and Seam lifecycle issues
obfuscator Aug 15, 2008 9:56 AM (in response to viniciuscarvalho.viniciusccarvalho.gmail.com)You can make your MDB a seam component and add a (JBoss-specific) dependency on some JMX bean that starts after seam. I have it working using
@MessageDriven(<as usual>) @Depends("jboss.j2ee:service=EARDeployment,url='my.ear'") @Name("mdb") public void MDB implements MessageListener { ... }There are some other unusual things in that bean, but I don't remember if that was relevant to the message-receiving or not. If this doesn't work, please let me know and I'll give you more detail.
 - 
        
2. Re: MDB and Seam lifecycle issues
balazska Nov 17, 2009 2:34 PM (in response to viniciuscarvalho.viniciusccarvalho.gmail.com)It does not work under JBoss 5.1GA
 - 
        
3. Re: MDB and Seam lifecycle issues
jeanluc Nov 17, 2009 6:17 PM (in response to viniciuscarvalho.viniciusccarvalho.gmail.com)Bummer - I was looking to do the same next week. Do you get errors or it just doesn't work?
 - 
        
4. Re: MDB and Seam lifecycle issues
serkan.s.eskici.online.nl Aug 4, 2011 7:19 AM (in response to viniciuscarvalho.viniciusccarvalho.gmail.com)Can you be more specific about this ?
What exactly do you define in @Depends(..) ? -To which ear do you depend on ? To your own ear ?
I'm having the same problem as Vinicius Carvalho and I'm using Seam 2.2.1 final and JBoss 5.1GA.