layout: default_md title: Connection Factory Properties title-class: page-title-activemq5 type: activemq5

Connectivity > Containers > Resource Adapter > Connection Factory Properties

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:

Property NameRequiredDefault Value
ServerUrlnoset in resource adapter
UserNamenoset in resource adapter
Clientidnoset in resource adapter
Passwordnoset in resource adapter
UseInboundSessionnoset in resource adapter

ServerUrl

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’.

UserName

The default user name that will be used to establish connections to the ActiveMQ server.

Password

The default password that will be used to log the default user into the ActiveMQ server.

Clientid

The client id that will be set on the connection that is established to the ActiveMQ server.

UseInboundSession

Boolean to configure if outbound connections should reuse the inbound connection's session for sending messages.