message-driven-bean
How to restrict pool size of MDB on Glassfish v3
my Message Driven Bean executes highly intensive operations so I would like to restrict it\'s pool size or my server would have been overloaded. I have tried this ( code ) but it doesn\'t work, it\'s[详细]
2023-02-12 13:00 分类:问答How to limit the number of MDB instances listening to a Jboss JMS queue
I\'m having a problem with the following setup: A Java application send email msg to a JMS queue, then an MDB listening to the queue get the email msg with the onMessage method, it open a connection[详细]
2023-02-10 05:00 分类:问答Weblogic Message Driven Bean reading from a secured queue @RunAs does not work
I have a MDB very simple which works fine as long as the queue from where it reads messages is not secured[详细]
2023-02-08 03:17 分类:问答Java Connector Architecture and TCP/IP
So my most basic question here is: how do you build TCP interfaces into your Java EE applications? Instead of interacting with a legacy EIS, I need to interact with a block of TCP/IP ports. Ideally, I[详细]
2023-02-06 17:27 分类:问答Subscriber authorisation in WebSphere MQ with MDB
I have an MDB that looks like this: @MessageDriven(mappedName = \"jms/TestJeremyTopic \", activationConfig ={[详细]
2023-02-06 00:04 分类:问答How to enable MessageDrivenContext injection?
I\'d like to explicity set a transaction to rollback in a JavaEE MDB: private MessageDrivenContext context;[详细]
2023-02-04 08:36 分类:问答How does CDI injection work in MDBs and @Scheduled beans?
I\'m working on a large Java EE 6 application that is deployed on JBoss 6 Final. My current tasks involve using @Inject consistently instead of @EJB, but I\'m running into some problems on some types[详细]
2023-02-03 06:07 分类:问答EJB's and Threading
From what I understand it is illegal to spawn threads from within an EJB as it may potentially interfere with the EJB\'s lifecycle. However, is it illegal to use predefined Java classes from the JDK w[详细]
2023-02-02 11:48 分类:问答JDK 5 File/Stream Read Timeout API in an MDB
Is there a JDK 5 or older API for reading files and or reading streams with a timeout? Also, this API must be safe when wrapped inside an MDB. FYI: I have already looked into using the FutureResult, T[详细]
2023-02-01 11:35 分类:问答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;[详细]
2023-01-31 10:40 分类:问答