Hi,
I have an MDB which uses the Standard Message Driven Bean as the container with
these settings:
<instance-cache></instance-cache>
<persistence-manager></persistence-manager>
<container-pool-conf>
15
What i want is to have 10 MDB in the pool after starting up the server. That's
what i expect when i look at the proxy-binding for an MDB:
1
15
But when i start putting messages on the queue you can see the MDB getting the
message. I also printed out a message in the ejbCreate() and you can see MDB
being creaetd. The problem is that the JMX beans for my MDB and the JMX pool
bean do not seem to update the statistics like CurrentSize
(org.jboss.ejb.plugins.MessageDrivenInstancePool), CreateCount and
RemoveCount(MessageDrivenContainer). However, i see the messageCount being
updated.
Is this a bug or am i missing some configuration. Here 's mu ejb-jar.xml
<ejb-jar>
<enterprise-beans>
<message-driven>
<ejb-name>XMDB</ejb-name>
<ejb-class>nl.XMDB</ejb-class>
<transaction-type>Bean</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
<subscription-durability>NonDurable</subscription-durability>
</message-driven-destination>
</message-driven>
</enterprise-beans>
</ejb-jar>
here's my jboss.xml
<enterprise-beans>
<message-driven>
<ejb-name>XMDB</ejb-name>
<configuration-name>Standard Message Driven
Bean</configuration-name>
<destination-jndi-name>queue/x_queue</destination-jndi-name>
</message-driven>
</enterprise-beans>
My JBoss version is 4.0.2
Thanks,
Maarten
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916905#3916905
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916905
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user