Questions tagged [jboss-mdb]
99 questions
10
votes
2 answers
Configurable values to MDB annotations
I'm trying to use this method for receiving mail in our EJB3 app. In short, that means creating an MDB with the following annotations:
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "mailServer", propertyValue =…

Sietse
- 7,884
- 12
- 51
- 65
9
votes
4 answers
Java Heap Space error in glassfish
I am using a fresh Glassfish install with very little customizations.
I have a Message Driven Bean (ObjectUpdateMDB) that listens to a topic, then updates the object it receives in a database. There are a lot of objects being updated. After a…

mainstringargs
- 13,563
- 35
- 109
- 174
8
votes
3 answers
Configuring a 'retry delay' in MQ Series
I'm hoping someone can help me - I'm using JBoss 5.1 and MQ Series 7 in an EJB / JMS based application. I have several message driven beans in my application, each listening on an MQ Series message queue. When an error is encountered during the…
Rick Snyder
7
votes
5 answers
Dynamically creating asynchronous message queues in Java
I need to create asynchronous message queues dynamically in Java. My use case is sending email via multiple SMTP servers: I need to enforce that emails to the same SMTP server are processes sequentially, but emails to different SMTP servers may be…

Zecrates
- 2,952
- 6
- 33
- 50
6
votes
0 answers
New missing/unsatisfied dependencies: service jboss.ra.activemq-ra (missing) dependents
I followed this link and integrate ActiveMq 5.6 with JBoss eap 6.3. I am trying to use an MDB in my poc project. Though the war deployed successfull, onMessage() method doesn't get fired.
QueueName: employee_q
MDB,
package com.test.oms.mdb;
import…

Isuru Gunawardana
- 2,847
- 6
- 28
- 60
6
votes
6 answers
When is messaging (e.g. JMS) an alternative for multithreading?
I work on a data processing application in which concurrency is achieved by putting several units of work on a message queue that multiple instances of a message driven bean (MDB) listen to. Other than achieving concurrency in this manner, we do not…

Rahul
- 12,886
- 13
- 57
- 62
4
votes
2 answers
Message Driven Bean Selectors (JMS)
I have recently discovered message selectors
@ActivationConfigProperty(
propertyName="messageSelector",
propertyValue="Fragile IS TRUE")
My Question is: How can I make the selector dynamic at runtime?
Lets say a consumer decided…

mainstringargs
- 13,563
- 35
- 109
- 174
4
votes
3 answers
Ensuring serial processing of JMS messages in an OC4J cluster
We have an application that processes JMS message using a message driven bean. This application is deployed on an OC4J application server. (10.1.3)
We are planning to deploy this application on multiple OC4J application servers that will be…

Ladislav Petrus
- 43
- 1
- 4
4
votes
2 answers
Catching MySQL Deadlocks in a MDB (ActiveMQ) in JBoss 5.1
We are using JBoss 5.1 w/ MDB backed by ActiveMQ RAR.
When a message on a queue is consumed and performs some database operations which then result in a deadlock, the deadlock is essentially hosing the entire instance of JBoss until it is restarted.…

Jeremy
- 2,870
- 3
- 23
- 31
3
votes
2 answers
Delay start of JMS Listener (MDB) in JBoss 6.0
we have multiple instances of JBoss-Server in a clustered environment. For background tasks there is a global queue available, that manages all jobs registered at it. For this queue there is a simple listener (MDB) on each node, manages the incoming…

danny
- 215
- 4
- 11
3
votes
2 answers
JMS message to redelivery to queue
I am using Jboss MQ in my application.
I am trying to handle redelivered message to the JMS Queue.
Is there a way I can set some values in the original message I received in the consumer(First time I received the message)
So that whenever the…

Maximus
- 559
- 1
- 5
- 19
3
votes
0 answers
Java MDB multiple destination propertyValue( mdb configuration)
I have MDB files which can be fired from multiple JMS channels. How I can achieve this? For one channel it works perfectly:
@ActivationConfigProperty(propertyName = "destination", propertyValue = "jms/mirkuponov/emailSystemEventTopic")
But when I…

mondayguy
- 973
- 2
- 12
- 34
3
votes
1 answer
Jboss EAP 5.1 - MDB Integration with IBM Websphere MQ - Too few concurrent messages processed
I have been playing with a lot of Jboss parameters but I have been unsuccessful in getting my MDB to process more than 10 concurrent messages at a time. This is not adequate for my needs - I need a lot more concurrent message processing. I've…

Chris Boyle
- 31
- 1
3
votes
1 answer
Why cant Jboss AS 7.1 with Hornet Que - Message Driven Bean use pooled connection?
We are trying using HornetQ for messaging on Jboss AS 7.1 and the documentation at
https://docs.jboss.org/author/display/AS71/Messaging+configuration
says
There is also a pooled-connection-factory which is special in that it leverages the…

Reddymails
- 793
- 1
- 10
- 24
3
votes
1 answer
how many Message Driven Beans are created in Jboss?
JBoss: 6 or 7
Question1:
How many instances of Message Driven Bean are created by Jboss to handle messages?
Question2:
How to configure number of Message Driven Beans created by JBoss?

Hubert
- 1,125
- 5
- 17
- 36