Questions tagged [jboss-mdb]

99 questions
1
vote
1 answer

How to auto create a JMS topic/queue on JBoss in a portable and per-application way?

It's simple: I have an MDB and an EJB that sends messages to a topic (or queue). JBoss complains that the topic is not bound to the JNDI context. I want to have the topic/queue to be automatically created at best, or at least to have a standard way…
Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140
1
vote
1 answer

JBoss7 remote MDB connection to JMS queue -Connection failure has been detected

I am trying to develop an MDB for listening to remote queue in JBoss7, I Didn't receive messages from the queue. I got warnings in the server log: 11:32:41,882 WARN [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl]…
Jalaa Zahwa
  • 538
  • 5
  • 16
1
vote
1 answer

MDB with spring beans doesn't autowire beans from another package

I am using following MDB to connect to WMQ: @MessageDriven(name = "EventListener", activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName =…
1
vote
2 answers

MDB deployed on JBOSS fetching messages from IBM MQ

I would like to deploy MDB on JBOSS. But the publisher will not send messages to the JBOSS AS, it is sending messages to IBM MQ. Should I use JCA to integrate JBOSS and IBM MQ? OR Can the MDB on JBOSS AS subscribe to the topic on which IBM MQ is…
Noor Syed
  • 630
  • 3
  • 7
  • 16
1
vote
1 answer

Is there any way to receive the WMQ's message without using MDB on JBoss?

This may be simple beginner's question, but I would like to clarify it. There is no way receive WMQ's message without using MDB on JBoss using container's XA-transaction. Am I right? I mean, we can put message to MQ using AdminObject…
Hashim Otto
  • 396
  • 1
  • 8
  • 15
1
vote
0 answers

MDB initialization from DB

I need initialize MDB from Database(or some configuration file that not in .war). normally it takes configuration from jboss-ejb3.xml or annotations. I need change it default behavior.
Lang
  • 131
  • 1
  • 9
1
vote
1 answer

Jboss7.1 MDB - local JNDI reference vs Global JNDI reference

I am deploying my MDBs (EJB3.1) on JBoss7.1.1 application server. When I use @Resource for Datasource injection, I use global JNDI reference name (ENC + local JNDI reference name) and it works just fine. But, from page 147 of this book I can see the…
IndoKnight
  • 1,846
  • 1
  • 21
  • 29
1
vote
1 answer

Jboss Startup error

On an existing application I am trying to startup the JBOSS server and I get following error. Unfortunately I do not know clearly as yet, what all has been configured and is being used on this jboss. For now; I quickly want to get the error sorted…
Priyank
  • 14,231
  • 18
  • 78
  • 107
1
vote
1 answer

Maximum number of messages sent to a Queue in OpenMQ?

I am currently using Glassfish v2.1 and I have set up a queue to send and receive messages from with Sesion beans and MDBs respectively. However, I have noticed that I can send only a maximum of 1000 messages to the queue. Is there any reason why I…
SibzTer
  • 1,737
  • 4
  • 14
  • 18
1
vote
1 answer

How can we have JBOSS MDB retry its connection if it fails at startup?

We have a server app that is deployed across to server machines, each running JBOSS 4.2.2. We use JBOSS messaging with MDBs to communicate between the systems. Currently we need to start the servers in a very specific order so that JBOSS can connect…
Adam
  • 3,675
  • 8
  • 45
  • 77
1
vote
0 answers

messages consumed after sgnificant delay in jboss with hornetq

I have a strange problem. After upgrading to jboss 6.1 final AS 7 the hornet queue listeners are firing after a delay of 1 day. I can see the queue has data which is more than the max limit so the data is being paged by jboss. But why the delay in…
Adhir
  • 203
  • 1
  • 2
  • 13
1
vote
1 answer

Need help to handle MDB Exception in two ways

I'm trying to handle two different types of problems while processing a message. The first problem is if the remote database is down. In that case, the message should stop processing, and try again later. This message should never go to a DLQ, and…
DJ Spiess
  • 983
  • 2
  • 9
  • 26
1
vote
0 answers

Message Driven Bean swallows java.lang.Error

This is a very strange behavior: I had a NoSuchMethodException (because the compile and runtime library versions did not match), and the container swallowed it and I did not have the chance to catch. Have a look at this…
kavai77
  • 6,282
  • 7
  • 33
  • 48
0
votes
2 answers

How to notify web-module about job status performing in MDB (EJB3.0)?

We are using Message Driven Bean to generate large reports and process durable tasks. How can MDB notify web-module f.e. session listener about job status without client poll? Thanks in advance.
Pavel
  • 1,019
  • 2
  • 10
  • 19