blob: cb263643ccc32ea401290efe3c6081abcc06cfe7 [file] [log] [blame]
[[PointtoPointChannel-PointtoPointChannel]]
= Point to Point Channel
Camel supports the
http://www.enterpriseintegrationpatterns.com/PointToPointChannel.html[Point
to Point Channel] from the xref:enterprise-integration-patterns.adoc[EIP
patterns] using the following components
* xref:components::seda-component.adoc[SEDA] for in-VM seda based messaging
* xref:components::jms-component.adoc[JMS] for working with JMS Queues for high performance,
clustering and load balancing
* xref:components::jpa-component.adoc[JPA] for using a database as a simple message queue
* xref:components::xmpp-component.adoc[XMPP] for point-to-point communication over XMPP
(Jabber)
* and others
image::eip/PointToPointSolution.gif[image]
The following example demonstrates point to point messaging using
the xref:components::jms-component.adoc[JMS] component
[[PointtoPointChannel-Samples]]
== Samples
[source,java]
----
from("direct:start")
.to("jms:queue:foo");
----
And in XML:
[source,xml]
----
<route>
<from uri="direct:start"/>
<to uri="jms:queue:foo"/>
</route>
----