Revision: 4901
                            
                                                            
                                    
                                        
Updated Code
                                    
                                    
                                                    
                        at January 28, 2008 08:57 by narkisr
                            
                            Updated Code
@MessageDriven(
        activationConfig = {
        @ActivationConfigProperty(
                propertyName = "destinationType",
                propertyValue = "javax.jms.Queue"),
        @ActivationConfigProperty(propertyName = "destination",
                propertyValue = "queue/DummyQueue"),
        @ActivationConfigProperty(propertyName = "MaxPoolSize",
                propertyValue = "3"),
        @ActivationConfigProperty(
                propertyName = "acknowledgeMode",
                propertyValue = "Auto-acknowledge")})
public class DummyMDBean implements MessageListener {
    
    public void onMessage(final Message message) {
     // your logic goes here
    }
}
                                
                            Revision: 4900
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at January 28, 2008 08:56 by narkisr
                            
                            Initial Code
@MessageDriven(
        activationConfig = {
        @ActivationConfigProperty(
                propertyName = "destinationType",
                propertyValue = "javax.jms.Queue"),
        @ActivationConfigProperty(propertyName = "destination",
                propertyValue = "queue/DummyQueue"),
        @ActivationConfigProperty(propertyName = "MaxPoolSize",
                propertyValue = "3"),
        @ActivationConfigProperty(
                propertyName = "acknowledgeMode",
                propertyValue = "Auto-acknowledge")})
@ExcludeDefaultInterceptors
public class DummyMDBean implements MessageListener {
    
    public void onMessage(final Message message) {
     // your logic goes here
    }
}
                                Initial URL
Initial Description
An example of an annotated MDB in JBoss with some interesting. options
Initial Title
Simple annotation based MDB in JBoss
Initial Tags
Initial Language
Java