org.jboss.seam.jms.annotations
Annotation Type EventRouting


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface EventRouting

Identifies an Event Routing configuration method. May be applied to a method of a bean class.

The method may return EventBridge or List<EventBridge.

 @Inject
 EventBridge bridge;

 @EventRouting
 public static Route eventRoutingConfig()
 {
    return bridge.createRoute(EGRESS, Object.class).addQualifier(SPECIAL).connectTo(Topic.class, myTopic);
 }
 

Author:
Jordan Ganoff



Copyright © 2011 Seam Framework. All Rights Reserved.