please ignor the above post. Some xml tags are deleted. the following is the
correct one:
i am developing an Event Driven architecture using j2ee (MDB) on JBoss. In this
Architecture the incoming business events (raw events) will be fetched by a
MDB, wich forward the raw events to Event Stream Processor. My Problem is that
JBoss instantiate multiple instances of my MDB. It means the same event will be
delivered repeatedly. I just tried to force JBoss to limit the number of MDB
instances. But it was useless. My jboss.xml look like this:
|
| http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd";>
|
|
|
|
| EventInputAdapterBean
|
topic/rawEventTopic
| Standard Message Driven
Bean
|
|
|
|
event-message-driven-bean
|
|
|
|
| ComplexEventInputAdapterBean
|
topic/complexEventTopic
| Standard Message Driven
Bean
|
|
|
event-message-driven-bean
|
|
|
|
|
|
|
| event-message-driven-bean
| default
|
org.jboss.ejb.plugins.jms.JMSContainerInvoker
|
|
DefaultJMSProvider
|
StdJMSPool
| 1
| 1
|
|
10
|
|
queue/DLQ
|
10
| 0
|
|
|
|
|
|
|
|
i also made some changes in conf/jbossstandard.xml. The referenced
configuration "Standard Message Driven Bean" like following:
|
| Standard Message Driven Bean
| false
|
message-driven-bean
|
|
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
| org.jboss.ejb.plugins.LogInterceptor
|
org.jboss.ejb.plugins.RunAsSecurityInterceptor
|
| org.jboss.ejb.plugins.TxInterceptorCMT
| org.jboss.ejb.plugins.CallValidationInterceptor
| org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
|
| org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
| org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT
| org.jboss.ejb.plugins.CallValidationInterceptor
|
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
|
|
org.jboss.ejb.plugins.MessageDrivenInstancePool
|
|
|
| 1
| true
|
|
|
|
|
can you please tell me, what my mistake is.
thanks
Saeed
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056415#4056415
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056415
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user