Should I deploy Enterprise Integration Patterns in the broker or another application

 FAQ > Using Apache ActiveMQ > Should I deploy Enterprise Integration Patterns in the broker or another application

Should I deploy Enterprise Integration Patterns in the broker or another application

Whether you deploy the Enterprise Integration Patterns inside the ActiveMQ Broker or in a separate application depends on your requirements.

Advantages of deploying EIP inside the broker

  • Its a single JVM so less moving parts and you’re less likely to forget to deploy something
  • if you are doing things like polling resources such as files, databases and bridging them to queues or topics then its usually more efficient to host in the broker; as there’s less contention and there’s no network communication between the EIP rules and the message broker as its all in the same JVM (so you can use the VM Transport to avoid network overhead.

Advantages of deploying EIP inside a separate application

See Also

Apache ActiveMQ, ActiveMQ, ActiveMQ Artemis, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2019, The Apache Software Foundation. Licensed under Apache License 2.0.