[id='using-inline-jgroups-stacks_{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::xml/jgroups_inline_stack.xml[]
----
