Use ActiveMQ 5 and IBM MQ 8 in the same application - activemq

I have a java application that connects to both ActiveMQ and IBM MQ. I'm currently using IBM MQ 7.1 and trying to upgrade to use the MQ 8.0 client. The MQ 8 jars reference JMS 2.0 classes, like JMSRuntimeException. the ActiveMQ-all jar includes JMS 1.1 classes which conflict with JMS 2.0.
Is there any way to utilize both?

One easy way you can do it is to use the direct WebsphereMQ classes and NOT use it as a JMS provider, then your conflict will evaporate.

Related

Apache ActiveMQ integration with different version

Currently we are using ActiveMQ 5.15.6. Can this version be integrate with 5.16.4 where one is the provider and the other is the consumer of JMS messages?
Yes. The integration you describe should work.

Is that possible to communicate JMS Topic of HornetQ with ActiveMQ or vice versa

I have a HornetQ project on JBoss 6 using JDK-6, and an ActiveMQ project on WildFly 18 using JDK-11. Can I access the HornetQ topic in the ActiveMQ project or vice versa?
If you're using ActiveMQ Artemis embedded in WildFly 18 then you should be able to connect to it from your HornetQ client because ActiveMQ Artemis is based on the HornetQ code-base and has maintained backwards compatibility with older HornetQ clients.
However, you will not be able to use the ActiveMQ Artemis JMS client to talk to HornetQ.

Database persistence based JMS messaging in Jboss EAP 7.0

I am trying to configure JDBC database based persistence for JMS messaging in JBoss Version 7.0.6.GA.
When I look at JBoss 7.0 docs - https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html/configuring_messaging/configuring_persistence, I don't see any documentation about "Messaging Journal Persistence Using a JDBC Database".
But when I look at JBoss 7.1 docs - https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html/configuring_messaging/configuring_persistence#messaging_journal_persistence_using_a_jdbc_database, it does details about "Messaging Journal Persistence Using a JDBC Database".
Do that mean JBoss 7.0 EAP doesn't support database persistence based JMS messaging? Do I need to migrate to JBoss 7.1 to achieve this?
Looking at JBoss 7.1 release notes, I can conclude that we can use JDBC to persist JMS messages only after JBoss 7.1.x and above. This feature is not supported in JBoss 7.0 EAP.

Does spring integration support AMQP with ActiveMq

I am new to the MOM.
I want to connect to ActiveMQ using AMQP from my application.
Also I want to use Spring Integration for connecting to the ActiveMq.
I see example of AMQP for rabbitMQ but I am not able to find any example for ActiveMq.
Is it not possible to do with Spring Integration ?
No, it isn't possible.
ActiveMQ supports the AMQP 1.0 protocol which is an OASIS standard.
Where RabbitMQ and hence Spring Integration AMQP adapters support 0.9.1.
Those Spec versions are very different.
You should try tu use ActiveMQ JMS API over its AMQP. And finally Spring Integration JMS adapters.

weblogic 12c + websphere mq 6

I'm can't find instruction for integration websphere mq 6 + weblogic 12 c by websphere native protocol (no jms!). It possible? Goal - deploy mdb in weblogic for getting message from websphere mq queue.
and response.
Please help with link or instruction.
Alex
I understand that the option of using WebLogic's Foreign JMS provider configuration is not available to you as you want to NOT use the JMS API, but MQ's specific API, correct?
If that is the case you could always try to write some MQ Client code using the MQ API, as you would for a stand-alone application, and then deploy it inside WebLogic, although I'm not sure whether that would give you any real benefit.
One thing I am pretty sure you will NOT be able to do is write a Message-Driven Bean which connects to an MQ Series queue using the MQ API. MDBs are a Java EE concept and they are meant to connect to JMS providers.