Configuring JBoss EAP 6 – WildFly to use TCP for messaging

This tutorial shows how to use TCP for initial discovery and communication between cluster nodes of HornetQ servers running on JBoss EAP 6 / WildFly 8 First of all, let’s see the default mechanism used by the HornetQ messaging broker in JBoss/WildFly: As you can see, the first step is server discovery and it’s done … Read more

Using Camel with WildFly – part 2

This is the second part tutorial about using Camel with WildFly. We will now learn how to use Camel routes within our applications. First of all, check that you have installed Camel subsystem as described in this tutorial: Riding the Camel with WildFly application server Using Camel with Java EE CDI applications is even easier than … Read more

Riding the Camel with WildFly application server

This tutorial describes how you can integrate Apache Camel in your WildFly Application Server configuration. At the end of this tuorial you will be able to turn your WildFly application server into a mini service bus! First of all, you need to grab the WildFly-camel bundle which is available at https://github.com/wildfly-extras/wildfly-camel Simply unzip the tar.gz file … Read more

Configuring a JMS Queue example in JBoss 5

Note: This tutorial has been written for JBoss AS 5. To learn how to configure a JMS Queue / Topic in WildFly or JBoss EAP 7 we recommend checking this tutorial: JBoss JMS configuration The following article shows how to create a simple JMS Queue Producer and Consumer. This example uses JBoss Initial Context to … Read more

Creating a Datasource on WildFly using the Web Console

Creating a Datasource for WildFly 9 is a pretty simple task thanks to the templating wizard that is included on the Web console. First of all you need to download WildFly from http://wildfly.org/downloads/ Let’s see how to configure an Oracle 12c Connection using the ojdbc7.jar Driver. There are multiple strategies for configuring a Datasource, the faster one … Read more

A close look inside Infinispan Distribution mode

What you like to have a close look over the Infinispan distribution of data in your JBoss EAP 6 / WildFly cluster? I’ll tell you how to do it. The default algorithm used by WildFly application server for clustering is based on the Infinispan distribution. This means that cache entries are copied to a fixed … Read more

Useful CLI scripts in Domain mode

When running in Domain mode using the CLI can be tricky as you have to understand where your resources are located in the application server tree. Let’s see some practical examples: How to configure a resource in a Domain You have to reference the profile you are using. Example: /profile=full/subsystem=ejb3/thread-pool=default:write-attribute(name=max-threads,value=10) How to reach a resource available … Read more

Categories CLI