Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.此内容没有您所选择的语言版本。
Chapter 71. List
List Component 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
deprecated: is renamed to the Browse component in Apache Camel 2.0
The List component provides a simple BrowsableEndpoint which can be useful for testing, visualisation tools or debugging. The exchanges sent to the endpoint are all available to be browsed.
URI format 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
list:someName
list:someName
Where someName can be any string to uniquely identify the endpoint.
Sample 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
In the route below we have the list component to be able to browse the Exchanges that is passed through:
from("activemq:order.in").to("list:orderReceived").to("bean:processOrder");
from("activemq:order.in").to("list:orderReceived").to("bean:processOrder");
Then we will be able to inspect the received exchanges from java code:
See also: