Hi guys, can you help me again? ;) We have a MDB named CallAgentMDB, which is a message consumer (MessageListener), and FEInternalServicesBean, which is a stateless bean. The problem is, that the MDB is not receiving messages which are sent by the internal services bean. When openejb starts, it prints the following:
2007-10-16 16:37:32,401 - INFO - Configuring Service(id=Default Stateless Container, type=Container, provider-id=Default Stateless Container) 2007-10-16 16:37:32,406 - INFO - Auto-creating a container for bean FEClientEJB: Container(type=STATELESS, id=Default Stateless Container) 2007-10-16 16:37:32,407 - INFO - Auto-linking resource reference 'jdbc/DB2DS' in bean FEInternalServicesEJB to Resource(id=Default JDBC Database) 2007-10-16 16:37:32,407 - INFO - Configuring Service(id=Default JMS Connection Factory, type=Resource, provider-id=Default JMS Connection Factory) 2007-10-16 16:37:32,407 - INFO - Auto-creating a resource with id 'Default JMS Connection Factory' of type 'javax.jms.QueueConnectionFactory for 'FEInternalServicesEJB'. 2007-10-16 16:37:32,407 - INFO - Configuring Service(id=Default JMS Resource Adapter, type=Resource, provider-id=Default JMS Resource Adapter) 2007-10-16 16:37:32,408 - INFO - Auto-linking resource reference 'jms/FE_QCF' in bean FEInternalServicesEJB to Resource(id=Default JMS Connection Factory) 2007-10-16 16:37:32,408 - INFO - Configuring Service(id=Default Queue, type=Resource, provider-id=Default Queue) 2007-10-16 16:37:32,408 - INFO - Auto-creating a resource with id 'Default Queue' of type 'javax.jms.Queue for 'FEInternalServicesEJB'. 2007-10-16 16:37:32,408 - INFO - Auto-linking resource reference 'queue/FE_QUEUE' in bean FEInternalServicesEJB to Resource(id=Default Queue) 2007-10-16 16:37:32,408 - INFO - Configuring Service(id=Default MDB Container, type=Container, provider-id=Default MDB Container) 2007-10-16 16:37:32,409 - INFO - Auto-creating a container for bean CallAgentMDB: Container(type=MESSAGE, id=Default MDB Container) 2007-10-16 16:37:32,409 - INFO - Configuring Service(id=queue/FE_QUEUE, type=Resource, provider-id=Default Queue) 2007-10-16 16:37:32,409 - INFO - Auto-creating a resource with id 'queue/FE_QUEUE' of type 'javax.jms.Queue for 'CallAgentMDB'. 2007-10-16 16:37:32,409 - INFO - Auto-linking resource reference 'queue/FE_QUEUE' in bean CallAgentMDB to Resource(id=queue/FE_QUEUE) 2007-10-16 16:37:32,409 - INFO - Configuring Service(id=CallAgentMDB, type=Resource, provider-id=Default Queue) 2007-10-16 16:37:32,410 - INFO - Auto-creating a resource with id 'CallAgentMDB' of type 'javax.jms.Queue for 'CallAgentMDB'. 2007-10-16 16:37:32,708 - INFO - Loaded Module: /home/vyzivus/work/chrysler/fe-trunk/fe-ejb/eclipse-target/classes So, we can see that FEInternalServicesEJB posts messages to "Default Queue", while CallAgentMDB expects messages in "queue/FE_QUEUE" queue. How can I set the CallAgentMDB to listen on "Default Queue"? Can you please provide me with some MDB examples on OpenEJB? Thanks! Martin -- Mgr. Martin Vysny | [EMAIL PROTECTED] Software Engineer Whitestein Technologies s.r.o | www.whitestein.com Panenska 28 | 811 03 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2 5930-0717
signature.asc
Description: This is a digitally signed message part
