|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Route
Routing configuration between CDI and JMS.
Method Summary | ||
---|---|---|
Route |
addAnnotatedParameter(AnnotatedParameter<?> ap)
|
|
Route |
addDestinationJndiName(String jndi)
|
|
Route |
addDestinationQualifiers(Set<Annotation> qualifiers)
|
|
Route |
addDestinations(Collection<Destination> d)
Adds a collection of destinations to this route. |
|
Route |
addDestinations(Destination... d)
Add multiple destinations to this route |
|
Route |
addQualifiers(Annotation... qualifiers)
Apply the qualifiers listed to this route. |
|
Route |
addQualifiers(Collection<Annotation> q)
Apply the collection of qualifiers to this route. |
|
void |
build(BeanManager beanManager)
|
|
|
connectTo(Class<D> d,
D destination)
Connect this route to a destination. |
|
void |
disableEgress()
Disables egress routing for this route. |
|
void |
disableIngress()
Disables ingress routing for this route. |
|
void |
enableEgress()
Enables egress routing for this route. |
|
void |
enableIngress()
Enables ingress routing for this route. |
|
Set<AnnotatedParameter<?>> |
getAnnotatedParameters()
|
|
Set<String> |
getDestinationJndiNames()
|
|
List<Set<Annotation>> |
getDestinationQualifiers()
|
|
Set<? extends Destination> |
getDestinations()
|
|
String |
getId()
|
|
Type |
getPayloadType()
|
|
Set<Annotation> |
getQualifiers()
|
|
RouteType |
getType()
|
|
Route |
id(String id)
|
|
boolean |
isEgressEnabled()
Determines if this route is enabled for Egress routes. |
|
boolean |
isIngressEnabled()
Determines if this route is enabled for ingress routes. |
|
void |
setDestinations(Collection<Destination> destinations)
|
|
Route |
setType(Type type)
|
|
boolean |
validate()
|
Method Detail |
---|
<D extends Destination> Route connectTo(Class<D> d, D destination)
D
- Destination typed
- Destination type (e.g. javax.jms.Topic)destination
- Destination to connect this route to
Route addDestinations(Destination... d)
d
- destinations to be added.
Route addDestinations(Collection<Destination> d)
d
- Destinations to be added
Route addQualifiers(Annotation... qualifiers)
qualifiers
- Qualifiers for the payload type
Route addQualifiers(Collection<Annotation> q)
q
- qualifiers to be added
RouteType getType()
Type getPayloadType()
Set<Annotation> getQualifiers()
Set<? extends Destination> getDestinations()
Set<String> getDestinationJndiNames()
void setDestinations(Collection<Destination> destinations)
List<Set<Annotation>> getDestinationQualifiers()
Route addDestinationQualifiers(Set<Annotation> qualifiers)
Route addAnnotatedParameter(AnnotatedParameter<?> ap)
Set<AnnotatedParameter<?>> getAnnotatedParameters()
Route addDestinationJndiName(String jndi)
Route setType(Type type)
boolean validate()
void build(BeanManager beanManager)
Route id(String id)
String getId()
boolean isEgressEnabled()
boolean isIngressEnabled()
void disableEgress()
void enableEgress()
void disableIngress()
void enableIngress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |