[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/jgroups_inline_stack.xml[]
----
