java ee - Are activation specs required for message-driven beans? -


i have non-jms mdb i'm installing websphere liberty server.

package mdb.test;  import javax.ejb.messagedriven;  @messagedriven() public class themdb implements myownlistener {    public themdb() {}    @override   public void onmyownmessage(myownmessage message) {}  } 

without further configuration, server gives following message:

[warning ] cntr4015w: message endpoint themdb message-driven bean cannot activated because mdb.test/themdb activation specification not available. message endpoint not receive messages until activation specification becomes available.

do mdbs have have activation specification? i'd activated, without having add further configuration server.

essentially server telling founds message endpoint there nothing delivering messages it. need add activation specification (either jms or jca) allow bean receive messages. information on defining jca activation specs:

http://www.ibm.com/support/knowledgecenter/sseqtp_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_jca_config_actspec.html

i'm not aware of way activate bean without being tied activation spec. since function process messages, of little use without activation spec. might need dummy enough of ra code activation spec make progress, if not producing messages yet.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -