How does MDB on WildFly consume messages from JBOSS 5.1 - jboss

How to configure MDB on WildFly to read JMS messages from other cluster running JBOSS Messaging on JBOSS 5.1 ?

You should use a JMS bridge : https://docs.jboss.org/author/display/WFLY8/Messaging+configuration#Messagingconfiguration-JMSBridge

Related

java.lang.NoSuchMethodError when sending message from WildFly 10 to remote ActiveMQ Artemis

We're working on a JMS based application deployed under WildFly 10. Now we're migrating from the embedded ActiveMQ Artemis server to a standalone one.
The same application server hosts a JBPM instance (version 6.5). When we try to send messages we have this error:
java.lang.NoSuchMethodError: io.netty.util.internal.PlatformDependent.getContextClassLoader()Ljava/lang/ClassLoader.
We think there is a compatibility problem on Netty, so we also tried to install another Netty version on JBoss but it doesn't work and the server doesn't start.
Do you have any suggestions?

How can I deploy JMS project using IBM MQ into JBoss?

I created a mini JMS project that can communicate with IBM MQ that's running in a local Docker container. Can this project be deployed in JBoss / Wildfly?
consumer.setMessageListener(new ConsumerMessageListener("Consumer"));
context.start();
System.out.println("Start listening to queue...");
Thread.sleep(300000);
context.close();
recordSuccess();

Weblogic and Websphere JMS Queue Communication

Currently in Weblogic we are running two applications and communicating through JMS Queue. Now one of the application we are moving to Liberty Server. What are the configuration we need to do for JMS Queue connection between Weblogic and Websphere.
Depending on which JMS Provider are you using, you have several options:
if provider has compatible JMS Resource Adapter (e.g. WebSphere MQ) - you can use that RA together with Liberty jca feature
if provider has a sort of thin client, you can embed that client libraries together with your application, and manually setup connection
if your current provider doesn't support any of above, you can use external JMS server that has compatible JMS RA (for example WebSphere MQ) and integrate it with both WebLogic and Liberty.
Update based on comments
There is no simple way to access Liberty JNDI externally - see this post Connect to Websphere Liberty jmsServer from remote application server
You could try to access embedded JMS via API. It is discussed here: https://www.ibm.com/mysupport/s/question/0D50z000062ktc3CAA/helloworld-jms-client-connecting-to-embedded-liberty-jms-server?language=en_US
But to be honest, if I were you I would either:
use external JMS Provider that is compatible with both runtimes e.g. WebSphere MQ
or rewrite interface between WebLogic and Liberty to REST, so that WebLogic invokes via REST simple application that reads the request and puts it to the queue in embedded Liberty JMS engine to avoid calling JMS engine externally.

Can any find wso2 esb with jboss mq

Can anyone help with wso2 esb with jboss mq.
Need a example for using JBoss MQ to store message from esb jms store.
Would this help: https://docs.wso2.com/display/ESB490/Configure+with+JBossMQ ? You can then use generic JMS samples once you've setup JBoss MQ.
A sample with JBoss Messaging: https://docs.wso2.com/pages/viewpage.action?pageId=50500327

Secure JBoss EAP 6 JMX channel

I'd like to know if it's possible to secure access to the JMX channel when running JBoss EAP 6 (or WildFly). AFAIK, the only available check is username and password which can be added just for remote connections.
Thanks!
The packaging of JMX has been removed from JBoss EAP due to probable security vulnerabilities, JMX was part of JBoss in their AS versions. I assume that you have deployed the JMX yourself onto your JBoss EAP server. So, definately, you will not get anything from JBoss EAP to secure your JMX access. But yes, you can implement your own username and passwrod authenticaiton.
Hope this helps.