Questions tagged [jboss-mdb]
99 questions
0
votes
1 answer
Message Driven Bean not consuming message after being deployed correctly
i have deployed mdb correctly and server log said that i have deployed successfully however i am still not able to consume message from websphere mq in the jboss container
My activation config in my mdb
@MessageDriven(
activationConfig = {
…

Jason Sivan
- 1
- 3
0
votes
1 answer
How do you setup a Java EE Message Driven Bean to listen to multiple queues?
I have a Java EE message driven bean that needs to listen to multiple queues (9 different queues). I understand that I can define 9 different message beans (one for each unique queue) and just use some common class for the business logic but it…

BMills
- 21
- 1
- 4
0
votes
2 answers
Jboss 5.1 ActiveMQ 5 standalone broker MDB setup
I'm attempting to use the sample broker that comes with ActiveMQ 5 with an MDB deployed on JBoss 5.1 AS.
I've deployed the activemq rar to the deploy directory.
I've deployed activemq-jms-ds.xml to deploy/messaging which defines my connection…

Matt Phillips
- 11,249
- 10
- 46
- 71
0
votes
1 answer
In Wildfly 9 is there a way to suspend only certain MDB
I am able to call :suspend and :resume from the cli, however, this suspends all beans (EJB, MDB). Is there a way to only suspend message driven beans MDBs?
In my application all the work comes in via messages. If I can suspend the message…

Vijay Kumar
- 2,439
- 2
- 32
- 51
0
votes
1 answer
numFailedIdleTestsDefaultUser (db connections silently failed during idle time)
I just configured my c3p0 pool properties but after some time i can see ( from monitoring tool ) the field "numFailedIdleTestsDefaultUser" is increasing. Do we need to worry about this ??. IF yes how to resolve this.
Regareds
Veera

veeras
- 61
- 1
- 4
- 11
0
votes
2 answers
JMS + WildFly 8.2.0 - Reading from remote jms queue
I'm trying to read messages from a remote jms queue located on remote server, also on WildFly 8.2.0.
The remote queue name defined on remote server is "java:jboss/exported/jms/queue/grinderRemote".
I defined a queue on the read server with the same…

enrico.visentini
- 55
- 2
- 10
0
votes
2 answers
How to control the jms.prefetchPolicy.queuePrefetch value in ActiveMQ 5.6 and JBoss AS 7
I have an MDB in Jboss 7 application that acts as a consumer of a queue in ActiveMQ.
This is how the connection is made from JBoss…

Vijay Kumar
- 841
- 1
- 9
- 13
0
votes
2 answers
Using .bindings file with MDB in JBoss 5.1
I am writing a standard JEE 5 application and need to consume JMS messages from MQ server. Application server is JBOSS EAP 5.1. As this is a standard JEE application, an MDB would be good fit as message listener. MQ admin has provided a .bindings…

Taps
- 68
- 6
0
votes
1 answer
How do I deploy a Spring MDP on JBOSS 5 App server?
I want to find out if my thoughts are correct about deploying MDP on JBOSS:
There are definitely advantages of using MDP instead of MDB but all these advantages will only work when you don’t use an EJB Container/App Server. Since, I need to use…

Noor Syed
- 630
- 3
- 7
- 16
0
votes
1 answer
Message is not removed/ not auto acknowledged from HornetQ
Am first time using Jboss 7.2 and am trying to deploy a simple MDB . The MDB is annotated for auto acknowledgment
@MessageDriven(activationConfig = {
@ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue =…

Hima
- 83
- 1
- 8
0
votes
2 answers
Problem in creation MDB Queue connection at Jboss StartUp
I am not able to create a Queue connection in JBOSS4.2.3GA Version & Java1.5, as I am using MDB as per the below details.
I am putting this MDB in a jar file(named utsJar.jar) and copied it in deploy folder of JBOSS, In the test env. this MDB works…

Amit Ruwali
- 1
- 1
- 1
0
votes
1 answer
How to stop MDB when JBoss cannot process the message because of other system's failure
I'd like to know how to stop/start message listener when some environmental problem happens (ex. Remote Server which called by webservice is down).
In this case message listener continue trying to read message and get exception when it tries to…

Hashim Otto
- 396
- 1
- 8
- 15
0
votes
1 answer
Can I use 2 phase commit between 2 queue connections
Recently I need to develop JBOSS application which receives IBM MQ Message.
It seems like use wmq.jmsra.rar and Message Driven Bean is a most common solution.
But I'm a little bit uncertain who is responsible of this Resouce.
IBM? or Redhat?
I'd…

Hashim Otto
- 396
- 1
- 8
- 15
0
votes
1 answer
javax.mdb package not found
I'm triing to buld a MDB on jboss7.1.1, i have a maven project but the javax.jms package cann not be imported, I've puted the folowing dependency in the pom.xml
javax.jms
jms
…

simonC
- 4,101
- 10
- 50
- 78
0
votes
1 answer
IllegalStateException "No pool annotation"
Tying to launch my .ear on a Local JBoss 6.1.0 Final with local ActiveMQ. As I'm starting the Jboss. I get:
09:56:52,300 INFO [org.jboss.ejb3.deployers.JBossASKernel] Created KernelDeployment for: message-service-ejb-1.0-SNAPSHOT.jar
09:56:52,304…

Mathias
- 1
- 2