Reputation: 664
A MessageDriveBean implement another interface in addition to MessageListener. This provide an exception at deployement:
Caused by: org.jboss.deployers.spi.DeploymentException: Error creating ejb container MyQueue: Unable to choose messagingType interface for MDB MyQueue from [interface IMessageVisitor, interface javax.jms.MessageListener]
Any idea to specify the messageType interface ?
Upvotes: 1
Views: 549
Reputation: 664
I should explicitely mention the messaging type (found from jboss forum)
@MessageDriven(messageListenerInterface=MessageListener.class)
Upvotes: 1