Hello,
For the update, we have packaged a detailed and documented version of a JMX enabled version of the DefaultMessageListener at ManagedSpringJmsDefaultMessageListenerContainer (1).
We also...
Type: Posts; User: Cyrille Le Clerc; Keyword(s):
Hello,
For the update, we have packaged a detailed and documented version of a JMX enabled version of the DefaultMessageListener at ManagedSpringJmsDefaultMessageListenerContainer (1).
We also...
This Websphere MQ 7 problem is tracked by IBM as IZ53893: HASHCODE METHOD MISSING FOR MQDESTINATION IN WEBSPHERE MQ V7 JMSCLIENT and a fix is available in Websphere MQ 7.0.1.2.
With this fix, the...
Dear all,
I discovered that the CachingConnectionFactory has MessageConsumer and MessageProducer leaks with Websphere MQ 7.0.1 JMS connector due to a bug in "MQTopic.hashCode()" and...
I proposed a JaxbMessageConverter on the post "sample for messageconverter using e.g. jaxb, xstream".
http://forum.springframework.org/showthread.php?p=172533
Hope this helps,
Cyrille
Here is an implementation of JaxbMessageConverter that rely on Spring WS Jaxb2Marshaller.
We decided to rely on Jaxb2Marshaller to to leverage all the customization available in this marshaller, in...
Sorry but I am not a WMQ admin at all. I guess your consumer is not Java based but rather a cobol stuff.
Did you have a look at MQSeries.net forums, there are very skilled guys on them.
Good...
You can configure MQ ConnectionFactory and Queue via Websphere Admin console. This works with both MQ Binding (mq binaries installed on the server) and MQ TCP-IP Client modes.
Can you have a...
Sample to send a raw MQSTR message with Websphere MQ and the Spring JmsTemplate using the property-in-queue-name approach (see WMQ Infocenter : Sending a message).
The point is to use the...
Here are basic samples to send raw MQSTR messages with Websphere MQ
Send MQSTR message using MQQueue#setTargetClient(int)
/**
* Send raw MQSTR message using {@link...
Hello,
It seems that your message consumer only supports Websphere MQ's raw MQSTR format and does not support MQHRF2 (an enhanced format with headers in addition to the body of the message). Due...
Hello Barath,
You are facing an OutOfMemoryError that may be related to the DMLC as it may also be related to other pieces of code. Do you have a heapdump generated when this OutOfMemoryError...
Hello Muhwas,
Unfortunately, the JmsTemplate's send methods (send(...) and convertAndSend(...) ) don't return the sent JMS Message to allow developers to retrieve the fields generated by the...
Hello Barrath,
DefaultMessageListenerContainer can not benefit of automatic jmx-exposition as it is not annoted and it does implement an MBean interface (DefaultMessageListenerContainerMBean or...
Hello Craig,
Short answer
Use "autodetectModeName=AUTODETECT_ASSEMBLER" in MBeanExporter config instead of the deprecated "autodetect=true".
<bean id="exporter"...
Hello,
Here is a SpringFramework & ActiveMQ sample with a message sender and a message receiver :
JMS Message Sender Sample
public class SampleSender {
protected JmsTemplate...
Hello Alex,
Here is another approach relying on the name of the web application. This name is typically unique in a Tomcat server and thus is a good discriminator to prevent ObjectName...
Hello Josh,
Could your problem be related to a classloader issue ?
Could you have jms apis jars declared twice : in Websphere base classloader and with the com.ibm.mqjms.jar you put in WAS...
Hello muhwas,
Here is a sample of code to set Websphere MQ MQMD properties via JMS API. and few details about where you can get detailed information about MQMD <-> JMS fields mapping.
Sample
...
Hello,
JMSMessageID is read only in Websphere MQ JMS implementation.
Extract from Websphere MQ Infocenter : Mapping JMS header fields at send() or publish()
Other information about JMS to...