Looking for experiences others might have had. Or JMS spec citations, if you've got them.
Our typical practice when handling a JMSException (in a try/catch or onException() method) is to fully tear down the existing JMS connection/sessions/... and reinitialize them.
A developer asked if we were being too pessimistic. Are there cases ...
I can't understand how to use ActiveMQ not locally.
Suppose I have 2 machines, which need to exchange some messages.
On the on machine I start ActiveMQ broker:
> ~/bin/activemq
and use something like:
javax.naming.Context ctx = new InitialContext();
TopicConnectionFactory factory = (TopicConnectionFactory)ctx.lookup("conn...
How do i specify which queue manager to connect to in my system properties.
Here is the code:
Properties properties = new Properties();
properties.setProperty("java.naming.factory.initial", "com.ibm.mq.jms.context.WMQInitialContextFactory");
properties.setProperty("java.naming.provider.url", "localhost:1414/SYSTEM.DEF.SVRCONN");
Cont...
The answer to this question may be obvious to someone with more experience in data-warehousing and BI, but I am looking for some guidance.
I'm building a system that uses multiple JMS queues to process millions of messages per day. I need visibility into the activity of these queues, so that I can create reports like..."Yesterday at 11...
My requirement is to receive messages from a queue and perform some business operations and finally update a status field in DB.
Now during the business processing or updating the DB if i get any exception, I need the message to be reprocessed again.
Wonder is there any way that I can ask the MOM to re-deliver the message for me.
...
Hi,
I want to use JMS to connect to IBM MQ.
How do i specify the queuemanager, the channel and other properties ?
...
Hi,
I want to use javax.jms.QueueConnectionFactory to connect to IBM MQ
Is it possible to specify the queue manager and channel manager while connecting ?
I want to avoid using com.ibm.mq.jms.MQQueueConnectionFactory. I am using JBoss 4.3
...
I have an application that was written on JBoss 3.2.5 and I am tasked with migrating it to JBoss 5.
I am unable to deploy the application because it relies on JBoss MQ, which I read has been replaced by JBoss Messaging.
Is there any way I can get the app to work on JBoss 5 without making any code changes? Config changes are OK.
...
This might also belong on serverfault. It's kind of a combo between server config and code (I think)
Here's my setup:
Rails 2.3.5 app running on jruby 1.3.1
Service Oriented backend over JMS with activeMQ 5.3 and mule 2.2.1
Tomcat 5.5 with opts: "-Xmx1536m -Xms256m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled"
Java jdk 1.5.0_19
...
We recently migrated an application from a Weblogic 7.x server to a 9.x server. In earlier versions of Weblogic, deciding where to put JMS objects like queues and topics was easy -- you just put them on a JMS server.
Weblogic 9.x adds an extension to the JMS spec. You can either deploy JMS objects to a "system module" or an "application...
Does anybody know what file systems are actually supported by the ActiveMQ File System Master/Slave? I cannot find such list in reference - http://activemq.apache.org/shared-file-system-master-slave.html .
...
I would be grateful if you share your experience with Shared File System Master/Slave in ActiveMQ. I'm interested particularly in the comparison of the performance/reliability of the different file systems used in this context.
...
Hi,
I am interested to know about GWT integration with HornetQ. My GWT app will send messages to HornetQ server using JMS api. An external client will consume these message and process them accordingly. So, this is basically point-to-point mode. From their wiki, I see that because of the way J2EE/JCA works, HornetQ sessions will automati...
Can somebody share an experience concerning scaling vertically the ActiveMQ? I'm particularly interested how performance is affected by:
NIO transport
option org.apache.activemq.UseDedicatedTaskRunner
disabling tightEncoding in OpenWire
using various type of Message Stores (including KahaDB)
...
Hi everyone,
I will like to know:
I have a scenario. If a user adds a product to the system (I'm developing), there's a listener that sends a notification to the user's client base notifying of a new product added by the user.
I've read this thread and (seeing I've never used JMS nor ThreadPool before) I was wondering whether I should...
Is it possible to set a virtual host in WebLogic only ?
In my development machine, I have a WebLogic instance with two servers, listening to ports 7002 and 7003; the deployed application contains EJBs and MDBs.
I want to point a Java client outside of the container to a single url, which I know will be served by the cluster, instead of...
Hi all,
Flat-file JMS authentication is easy to set up on Glassfish (see http://docs.sun.com/app/docs/doc/821-0027/aeofg?a=view).
The problem is the client part. I am writing a standalone Java client to access my JMS ressources (ConnectionFactory and Destination) via JNDI.
How to pass a username and a password to JMS from that client ...
Hello,
I what all my applications logs to be centralized (ideally in near real-time). We will use a Log4 Appender. Which one should I use:
Send log event in a JMS Queue
Syslog / syslog-ng
Write to a localfile and use rsync (every 3second) to replicate the log
Do a POST to a centralized REST Http Service
Which one are you using?
...
Is there a message queue implementation that allows breaking up work into 'batches' by inserting 'message barriers' into the message stream? Let me clarify. No messages after a message barrier should be delivered to any consumers of the queue, until all messages before the barrier are consumed. Sort of like a synchronization point. I'd a...
Hi,
How to destroy my JMS Message listener ?
I tried writing a code to set it to null, but that does not help
...