|
Page Edited :
CAMEL :
RecipientList Annotation
RecipientList Annotation has been edited by James Strachan (Oct 01, 2008). Content:@RecipientList AnnotationAs of 1.5.0 we now support the use of @RecipientList on a bean method to easily create a dynamic Recipient List using a Java method. public class RouterBean {
@MessageDriven(uri = "activemq:foo")
@RecipientList
public String[] route(String body) {
return new String[]{"activemq:bar", "activemq:whatnot"};
}
}
|
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
