SeamFramework.orgCommunity Documentation

Chapter 68. Installation

Seam JMS can be used by including a few libraries in your application's library folder:

If you are using Maven as your build tool use the following dependency, which will bring in both API and Implementation for Seam JMS:



Define or replace the property ${seam.jms.version} with a valid version of Seam JMS.

The runtime of Seam JMS is defined in two sections. The first section is related to creating observers, which happens within the Seam JMS CDI Extension. Observers need to be defined prior to starting up the container, and cannot be created once the application is running. This part happens automatically. The second section is related to creating listeners. This is managed in the component org.jboss.seam.jms.bridge.RouteBuilder.


In order to start any listeners, you may need to inject an instance of the RouteBuilder in to your class.

If you are running within a Servlet Container, and include the Solder, RouteBuilder will automatically start up.

The default implementation expects to find a ConnectionFactory at the JNDI location /ConnectionFactory. This can be changed by using Solder Config by using a snippet similar to the one below in seam-beans.xml. This will change the JNDI location Seam JMS looks to jms/ConnectionFactory

<?xml version="1.0" encoding="UTF-8"?>
  <beans xmlns=""
      <s:modifies />