Updated documentation to include @HeaderAttribute and @HeaderProperty. Also removed the "channel" from @Splitter and used @Polled with @MessageEndpoint rather than the "pollPeriod" (which will be removed).

This commit is contained in:
Mark Fisher
2008-05-23 05:13:46 +00:00
parent 91e24ac3d2
commit 74d81af6c2
2 changed files with 32 additions and 14 deletions

View File

@@ -65,10 +65,10 @@
the <interfacename>@MessageEndpoint</interfacename> annotation. That annotation extends Spring's
"stereotype" annotations (by relying on the @Component meta-annotation), and so all classes carrying the
endpoint annotation are capable of being detected by the component-scanner.
<programlisting language="java"><![CDATA[@MessageEndpoint(input="orders")
<programlisting language="java"><![CDATA[@MessageEndpoint(input="orders", output="drinks")
public class OrderSplitter {
@Splitter(channel="drinks")
@Splitter
public List<Drink> split(DrinkOrder order) {
return order.getDrinks();
}