# MessageDispatcher


```text
eip-1/MessagingEndpoints/MessageDispatcher
```

```text
include('eip-1/MessagingEndpoints/MessageDispatcher')
```



| Illustration | MessageDispatcher | MessageDispatcherGroup |
| :---: | :---: | :---: |
| ![illustration for Illustration](../../eip-1/MessagingEndpoints/MessageDispatcher.png) | ![illustration for MessageDispatcher](../../eip-1/MessagingEndpoints/MessageDispatcher.Local.png) | ![illustration for MessageDispatcherGroup](../../eip-1/MessagingEndpoints/MessageDispatcherGroup.Local.png) |




## MessageDispatcher

### Load remotely
```plantuml
@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://github.com/tmorin/plantuml-libs/distribution"

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

' loads the package bootstrap
include('eip-1/bootstrap')

' loads the Item which embeds the element MessageDispatcher
include('eip-1/MessagingEndpoints/MessageDispatcher')

' renders the element
MessageDispatcher('MessageDispatcher', 'Message Dispatcher', 'an optional tech label')
@enduml
```

### Load locally
```plantuml
@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

' loads the package bootstrap
include('eip-1/bootstrap')

' loads the Item which embeds the element MessageDispatcher
include('eip-1/MessagingEndpoints/MessageDispatcher')

' renders the element
MessageDispatcher('MessageDispatcher', 'Message Dispatcher', 'an optional tech label')
@enduml
```

## MessageDispatcherGroup

### Load remotely
```plantuml
@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://github.com/tmorin/plantuml-libs/distribution"

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

' loads the package bootstrap
include('eip-1/bootstrap')

' loads the Item which embeds the element MessageDispatcherGroup
include('eip-1/MessagingEndpoints/MessageDispatcher')

' renders the element
MessageDispatcherGroup('MessageDispatcherGroup', 'Message Dispatcher Group', 'an optional tech label') {
    note as note
        the content of the group
    end note
}
@enduml
```

### Load locally
```plantuml
@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

' loads the package bootstrap
include('eip-1/bootstrap')

' loads the Item which embeds the element MessageDispatcherGroup
include('eip-1/MessagingEndpoints/MessageDispatcher')

' renders the element
MessageDispatcherGroup('MessageDispatcherGroup', 'Message Dispatcher Group', 'an optional tech label') {
    note as note
        the content of the group
    end note
}
@enduml
```

