| //// |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License |
| //// |
| |
| // This assembly is included in the following assemblies: |
| // |
| // book.adoc |
| |
| [id='configuring-routing-{context}'] |
| = Configuring routing |
| |
| Routing is the process by which messages are delivered to their destinations. To accomplish this, {RouterName} provides two routing mechanisms: _message routing_ and _link routing_. |
| |
| xref:configuring-message-routing-{context}[Message routing]:: |
| Message routing is the default routing mechanism. You can use it to route messages on a per-message basis between clients directly (direct-routed messaging), or to and from broker queues (brokered messaging). |
| |
| xref:creating-link-routes-{context}[Link routing]:: |
| A link route represents a private messaging path between a sender and a receiver in which the router passes the messages between end points. You can use it to connect a client to a service (such as a broker queue). |
| |
| // Configuring the address space for message routing |
| include::configuring-message-routing.adoc[leveloffset=+1] |
| |
| // Creating link routes |
| include::creating-link-routes.adoc[leveloffset=+1] |