= Atomix Messaging Component
:doctitle: Atomix Messaging
:shortname: atomix-messaging
:artifactid: camel-atomix
:description: Access Atomix's group messaging.
:since: 2.20
:supportlevel: Stable
:component-header: Both producer and consumer are supported
//Manually maintained attributes
:camel-spring-boot-name: atomix

*Since Camel {since}*

*{component-header}*

The camel Atomix-Messaging component allows you to work with http://atomix.io[Atomix's] https://atomix.io/docs/latest/user-manual/cluster-communication/direct-messaging[Group Messaging].

Maven users will need to add the following dependency to their pom.xml
for this component:

[source,xml]
----
    <dependency>
        <groupId>org.apache.camel</groupId>
        <artifactId>camel-atomix</artifactId>
        <version>${camel-version}</version>
    </dependency>
----

== URI format

----
atomix-messaging:group
----

// component-configure options: START

// component-configure options: END

// component options: START
include::partial$component-configure-options.adoc[]
include::partial$component-endpoint-options.adoc[]
// component options: END

// endpoint options: START

// endpoint options: END

== Examples

=== Consumer Example

Consuming from an Atomix Messaging

[source,java]
----
from("atomix-messaging:group?memberName=member-1&channelName=channel")
  .to("mock:member-1");
----

=== Producer Example

Send a message to Atomix Messaging

[source,java]
----
from("direct:start")
  .to("atomix-messaging:group");
----


include::spring-boot:partial$starter.adoc[]
