I'm struggling to find a simple example that builds and deploys a message driven bean onto Oracle Middleware 11g (i.e., Weblogic). I'm using dependency injection.
It seems there should be a simple Ant task provided by Oracle to simply compile and deploy the MDB.
import javax.jms.MessageListener;
@MessageDriven(messageListenerInterface=MessageListener.class)
public class SimpleMDB implements MessageListener {
public void onMessage(Message msg) {
System.out.println("Inside AdapterMDB.onMessage()");
}
}
Any help would be greatly appreciated!