2014-12-11 07:17:29 -05:00
|
|
|
# Mapping JMS Concepts to the Core API
|
2014-12-04 10:25:29 -05:00
|
|
|
|
2018-03-09 10:07:38 -05:00
|
|
|
This chapter describes how JMS destinations are mapped to Apache ActiveMQ
|
|
|
|
Artemis addresses.
|
2014-12-04 10:25:29 -05:00
|
|
|
|
2018-03-09 10:07:38 -05:00
|
|
|
Apache ActiveMQ Artemis core is JMS-agnostic. It does not have any concept of a
|
|
|
|
JMS topic. A JMS topic is implemented in core as an address with name=(the
|
|
|
|
topic name) and with a MULTICAST routing type with zero or more queues bound to
|
|
|
|
it. Each queue bound to that address represents a topic subscription.
|
2014-12-04 10:25:29 -05:00
|
|
|
|
2018-03-09 10:07:38 -05:00
|
|
|
Likewise, a JMS queue is implemented as an address with name=(the JMS queue
|
|
|
|
name) with an ANYCAST routing type associated with it.
|
2014-12-04 10:25:29 -05:00
|
|
|
|
2018-03-09 10:07:38 -05:00
|
|
|
**Note:** While it is possible to configure a JMS topic and queue with the same
|
|
|
|
name, it is not a recommended configuration for use with cross protocol.
|