Access a local volumes from Docker Container

There are two types of volumes in Docker. The first one we will learn now are bind mount volumes which use any user-specified directory or file on the host operating system.. You can use Bind volumes when you want to provide to the container some resources which are available on the local, host machine. In … Read more

Quick introduction to Vagrant

Vagrant is a program that enables you to create portable and reproducible development environments easily supporting many hosts and guests operating systems and various features such as synced folders, forwarded ports and support for famous provisioners such as Chef, Puppet or Ansible. If you have been using tools like Virtual Box you may think of … Read more

Installing JBoss Fuse on JBoss EAP and WildFly

In this article we will learn about the JBoss Fuse 6.2.1 server release, and how you can use it to provision both JEE applications and OSGi bundles In the release of JBoss Fuse 6.2.1, you can now choose between two alternative container technologies: JEE (JBoss EAP) OSGi (Apache Karaf) Both container types now offer a … Read more

Vagrant tip #4 Configuring a multimachine static environment

In this tip we will see how to configure a Multimachine Fedora ennvironment with two Fedora machines bound on a static IP address. Vagrant and Multi-VM environments allow developers to model complex multi-server setups on a single development machine The IP addresses we will reserve to the Fedora Machines are the following ones: 192.168.122.10 192.168.122.20 … Read more

A-MQ Master-Slave configuration on shared file system

In this tutorial we will cover a basic cluster master-slave configuration of JBoss A-MQ by installing two servers on the same machine. With little changes, you can apply the same configuration to the upstream project, ActiveMQ. The simplest way to arrange for our cluster will be unzipping A-MQ in two folders, say amq1 and amq2. … Read more

Deploying bundles to JBoss Fuse

JBoss Fuse can hot deploy your OSGi bundles automatically when you drop the JAR files in the InstallDir/deploy directory. When you copy a JAR file in this directory, it will be automatically installed in the runtime and also started. Just the same, if you update or delete the JARs, and the changes are handled automatically. … Read more

JBoss Fuse Fabric cheatsheet

Here is my JBoss Fuse Fabric cheat sheet Enable user/password for Karaf Console: cd $FUSE_HOME vi ./etc/users.properties – Uncomment line by removing # character from #admin=admin,admin line – Save the file Create a fabric with defaults fabric:create –wait-for-provisioning Create a fabric with Manual IP and custom user fabric:create –new-user admin –new-user-password password –new-user-role Administrator –zookeeper-password … Read more

Using a JDBC Store for ArtemisMQ

The release 1.4.0 of ArtemisMQ added experimental support for JDBC Store. Although this support needs some more improvements before you can throw it in production, it’s worth learning this option especially if you are migrating existing ActiveMQ installations. Let’s see how to configure it. First of all, ArtemisMQ JDBC Store is available now with a … Read more

Building a Camel route to remote ActiveMQ

In this tutorial we will demonstrate how to create a simple Camel route which sends messages (based on a timer) to an ActiveMQ server. So first of all, let’s start ActiveMQ and verify that it’s listening on the TCP port: For example on a Windows machine: C:\>netstat -an | find “61616” TCP 0.0.0.0:61616 0.0.0.0:0 LISTENING … Read more

Basic Camel Architecture tutorial

This tutorial provides an overview of Camel architecture components. The Camel architecture consists of: CamelContext: This represents an instance of the Camel runtime environment running in a JVM. it represents a single Camel routing rulebase and works in a similar way to the Spring ApplicationContext. End points: They represent a message producer or consumer used … Read more