Questions tagged [jboss-mdb]

99 questions
1
vote
2 answers

Ejb 3, message driven bean cooperating with a stateful session bean?

Hey! I'm relative new to both Java EE and Stackowerflow, please be kind :-) I have a bunch of devices triggering Java messages to be sent on any state change. These devices are typically active for about 30-90 minute intervals. Each event message…
Kimble
  • 7,295
  • 4
  • 54
  • 77
1
vote
1 answer

JMS Message Router - variables (int and double) processing

So I hope i can explain it good it enough, I'm new in JEE and JMS technology. Currently I'm working on Linux, using Jboss and Wildfly technologies. All described project is saved under: BoldiApp on GitHUb I am trying to write applications that use…
1
vote
1 answer

JMS Queue listener and publisher using MDB in jboss using java

I have a requirement as : Messages in a queue, say A, needs to be consumed by two different applications. I am trying to implement a MDB to listen to that queue and publish that msg to another topic from where applications can consume. Is it…
Anitha.R
  • 344
  • 2
  • 15
1
vote
1 answer

JBoss EAP 7.1: ActiveMQ configuration - MDB with properties JMS not consuming message

I work with JBoss EAP 7.1 (Wildfly) and have problem with configuration of queue via standalone-full.xml (ActiveMQ) In my web application there are many MDBs with property selector: property set in header of JMS message. If the message does not have…
1
vote
1 answer

JBoss MDB - JMSBytesMessage class cast exception

I'm working on an EJB3 MDB that listen to a MQ queue in a distant server. All is working fine (MDB triggered when a message is put into the listenned queue) except the treatment done by the MDB. For information, i use WMQ resource adapter to map the…
kij
  • 1,421
  • 1
  • 16
  • 40
1
vote
3 answers

jBoss deployment of message-driven bean spec violation

I have an java EE application which has one message-driven bean and it runs fine on JBoss 4, however when I configure the project for JBoss 6 and deploy on it, I get this error; WARN [org.jboss.ejb.deployers.EjbDeployer.verifier] EJB spec…
rapadura
  • 5,242
  • 7
  • 39
  • 57
1
vote
2 answers

JBoss Messaging and Thread Priority

I'm using JBoss 5.1.0 GA together with JMS. I have two message-driven beans. Could someone explain the threading model to me? For example, does each MDB have a separate thread pool? Do they share a global pool?
Jeff Foster
  • 43,770
  • 11
  • 86
  • 103
1
vote
1 answer

Is there a way to make the message queue processing by MDB, on WildFly, FIFO?

Creating a JMS queue on WildFly 8.2 (with JMS provider HornetQ), and having a message driven bean "activated" by this queue, I saw that if the producer sends, in a rapid succession, multiple messages to the queue, the message driven bean does not…
John Donn
  • 1,718
  • 2
  • 19
  • 45
1
vote
1 answer

How to obtain number of messages in clustered queue in JBoss EAP6/HornetQ

I am trying to count messages in HornetQ clustered queue on JBoss EAP 6.4 (domain mode) Obtaining number of messages in particular HornetQ instance is not an problem (here is the way I do it), but what I am actually want, is to get cumulative/total…
iskramac
  • 868
  • 6
  • 14
1
vote
1 answer

Problems connecting to weblogic 10.3.6 JMS Queue with authentication from MDB in JBoss 5.1.0 GA

I'm using sun-jms-adapter.rar. All my configuration works fine before starting to use authentication. I also tried accessing to queue from a standalone application and stateless bean (this is used to send messages to queue), and all works fine. My…
1
vote
1 answer

problem with seam and mdb on jboss5.1

I have a problem when using a mdb as a seam component. In the bean I inject some other seam somponents. The problem is that when the server restart after a crash and the mdb is deployed it starts reading the messages but seam is not initialized yet…
simonC
  • 4,101
  • 10
  • 50
  • 78
1
vote
1 answer

WebSphere MQ wmq.jmsra looping after exception in MDB

I'm faceing a problem with JBoss EAP 6 and WebSphere MQ. I've developed a message driven bean: @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "useJNDI", propertyValue = "true"), …
Jörg
  • 13
  • 3
1
vote
1 answer

hello world with JMS on Glassfish

Following the JMS example in Java EE 7 with GlassFish 4 Application Server, p 203, I can send messages, but but can't seem to receive messages: sending a message: thufir@doge:~$ thufir@doge:~$ appclient -client…
Thufir
  • 8,216
  • 28
  • 125
  • 273
1
vote
1 answer

PHP ODBC MDB Access on a Cloud Server

Hopefully quick question.... I have a .MDB file stored on my webserver and I'm trying to connect to it. I have no way of "registering" it with a name in ODBC. Is the only way to connect to it by specifying the absolute page of the .mdb…
Senica Gonzalez
  • 7,996
  • 16
  • 66
  • 108
1
vote
1 answer

Message driven bean not responding until client method is complete

I have a MDB deployed on Jboss 4.2.2 and a client on the same server that produces messages and expects a reply from the MDB via a temporary queue created before the message is sent. When I run the client, I see that it creates the message, puts it…
poijoi
  • 31
  • 3