[jboss-user] [EJB/JBoss] - Re: set TransactionTimeout during Runtime
Have you considered breaking up your EJB into two EJBs joined via a JMS queue? Basically have the first EJB generate the messages for the web service, and as it generates say 100 web service requests, it tosses those requests onto a queue instead of making those requests itself. Then have another EJB (MDB) consuming off of that queue and this EJB can have its own custom timeout based on when it should timeout on 100 web service requests. This lets your first EJB reduce its work load to beat the timeout, and then the other EJB that is doing the web service requests will have its own timeout. Not only that, but since there is the second EJB doing the web requests, you can allow it do run those in parallel and get all your work done much faster and have it broken up with reasonable transaction timeouts. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4234142#4234142 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4234142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - MDB rollback
I'm not sure if this is the right area for this, if not please move it and feel free to yell at me. Here's my issue: When I have a pool of a given MDBs heavily working away on a lot of work, I sometimes need to suddenly stop those MDBs from working on any future messages that may be on the queue. So when I go into the jmx console and stop the MDB, it will wait for the MDBs to fully complete before shutting down. This is great, but it then assumes the MDB failed and rolls back the message to the queue. What I don't understand is, why does it wait for the bean to finish if its just going to consider it failed? Is there a way to allow a bean to finish like that, but also assume the work it finished was successful and doesn't need to be re-run? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4233995#4233995 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4233995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Browsing clustered queues
I'm trying to browse a clustered queue and I cant seem to get a view that includes all the nodes in the cluster, even though the queue has the clustered attribute set. Does anyone know a way to browse all messages on a clustered queue without hitting each node individually? BTW, I'm using JBoss 4.2.2 and JBoss Messaging 1.4. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4159586#4159586 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4159586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user