Configuring broker transport

Artemis uses two fundamental concepts: acceptors and connectors. Acceptors determine how the broker accepts incoming connections, while connectors determine how to connect to other Artemis brokers or servers that support its protocols (as described in the introduction).

Two types of acceptor and connector exist:

  • invm - The connections are within the same JVM (more performance, obviously)
  • http - The connections are over HTTP to/from remote clients; they use Undertow to upgrade from an HTTP connection

Each configured connector is used just to reach a server if there is the same type of acceptor configured on the other server. In other words, if we are making a connection with an invm connector, the other server must have ...

Get Mastering JBoss Enterprise Application Platform 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.