[id='using_jgroups_inline-{context}']
= Using Inline JGroups Stacks
You can insert complete JGroups stack definitions into `infinispan.xml` files.

.Procedure

* Embed a custom JGroups stack declaration in your `infinispan.xml` file.
+
[source,xml,options="nowrap",subs=attributes+]
----
include::config_examples/config_inline_jgroups.xml[]
----
+
<1> Contains one or more JGroups stack definitions.
<2> Defines a custom JGroups stack named "prod".
<3> Configures {brandname} to use "prod" for cluster transport.
