is there any case where the message could be null in the Method onMessage(message), if my MessageConsumer is implementing the MessageListener (JBoss JMS 1.1 API)?
import javax.jms.MapMessage;
import javax.jms.Message;
import javax.jms.MessageListener;
@MessageDriven( ... )
public class MyMessageConsumer implements MessageListener {
@Override
public void onMessage(final Message message) {
// is there any case, where message could be null here?
}
}