org.jboss.seam.jms.bridge
Interface RouteManager

All Superinterfaces:
Serializable

public interface RouteManager
extends Serializable

The RouteManager is responsible for instantiating new routes.

Author:
johnament

Method Summary
 Route createInboundRoute(Type payloadType)
          Creates a new Inbound route - listens for incoming JMS messages and fires a CDI event of the incoming type using the configured qualifiers.
 Route createOutboundRoute(Type payloadType)
          Creates a new Outbound route - observes fired events
 Route createRoute(RouteType type, Type payloadType)
          Creates a new instance of a Route based on given RouteType and payload type
 

Method Detail

createRoute

Route createRoute(RouteType type,
                  Type payloadType)
Creates a new instance of a Route based on given RouteType and payload type

Parameters:
type - The RouteType to create.
payloadType - The type of payload to use.
Returns:
a new Route instance.

createInboundRoute

Route createInboundRoute(Type payloadType)
Creates a new Inbound route - listens for incoming JMS messages and fires a CDI event of the incoming type using the configured qualifiers.

Parameters:
payloadType - The type of the payload to work with.
Returns:
A new inbound route.

createOutboundRoute

Route createOutboundRoute(Type payloadType)
Creates a new Outbound route - observes fired events

Parameters:
payloadType -
Returns:


Copyright © 2011 Seam Framework. All Rights Reserved.