The 'outbound' Connection Factory objects used to send messages by default use the connection configuration properties of the Resource Adapter deployment, but those properties can be overridden per connection factory.
The Connection Factory properties that can be configured are:
The URL to the ActiveMQ server that you want this connection to connect to. If using an embedded broker, this value should be 'vm://localhost'.
The default user name that will be used to establish connections to the ActiveMQ server.
The default password that will be used to log the default user into the ActiveMQ server.
The client id that will be set on the connection that is established to the ActiveMQ server.
Boolean to configure if outbound connections should reuse the inbound connection's session for sending messages.