| FUSE ESB 4.4 XML Configuration Reference | ||||||
| SUMMARY: DOCUMENTATION | ELEMENTS | ATTRIBUTES | FRAMES | NO FRAMES | ||||||
http://activemq.apache.org/schema/core)>http://activemq.apache.org/schema/core)
A <a href="http://www.springframework.org/">Spring</a> enhanced connection
factory which will automatically use the Spring bean name as the clientIDPrefix property
so that connections created have client IDs related to your Spring.xml file for
easier comprehension from <a href="http://activemq.apache.org/jmx.html">JMX</a>.
| Nested Element Summary | |||||||||||||||||||||
| sequence |
|
||||||||||||||||||||
| Attribute Summary | |
boolean | alwaysSessionAsync
If this flag is set then a separate thread is not used for dispatching messages for each Session in the Connection. |
boolean | alwaysSyncSend
Set true if always require messages to be sync sent |
integer | auditDepth
|
integer | auditMaximumProducerNumber
|
string | beanName
|
string | blobTransferPolicy
Sets the policy used to describe how out-of-band BLOBs (Binary Large OBjects) are transferred from producers to brokers to consumers |
string | brokerURL
Sets the <a href="http://activemq.apache.org/configuring-transports.html">connection URL</a> used to connect to the ActiveMQ broker. |
boolean | checkForDuplicates
|
string | clientID
Sets the JMS clientID to use for the created connection. |
string | clientIdGenerator
|
string | clientIDPrefix
Sets the prefix used by autogenerated JMS Client ID values which are used if the JMS client does not explicitly specify on. |
string | clientInternalExceptionListener
Allows an {@link ClientInternalExceptionListener} to be configured on the ConnectionFactory so that when this factory is used by frameworks which don't expose the Connection such as Spring JmsTemplate, you can register an exception listener. |
integer | closeTimeout
Sets the timeout before a close is considered complete. |
string | connectionIdGenerator
|
string | connectionIDPrefix
Sets the prefix used by connection id generator |
long | consumerFailoverRedeliveryWaitPeriod
|
boolean | copyMessageOnSend
Should a JMS message be copied to a new JMS Message object as part of the send() method in JMS. |
boolean | disableTimeStampsByDefault
Sets whether or not timestamps on messages should be disabled or not. |
boolean | dispatchAsync
Enables or disables the default setting of whether or not consumers have their messages <a href="http://activemq.apache.org/consumer-dispatch-async.html">dispatched synchronously or asynchronously by the broker</a>. |
string | exceptionListener
Allows an {@link ExceptionListener} to be configured on the ConnectionFactory so that when this factory is used by frameworks which don't expose the Connection such as Spring JmsTemplate, you can register an exception listener. |
boolean | exclusiveConsumer
Enables or disables whether or not queue consumers should be exclusive or not for example to preserve ordering when not using <a href="http://activemq.apache.org/message-groups.html">Message Groups</a> |
ID | id
|
boolean | messagePrioritySupported
|
boolean | nestedMapAndListEnabled
Enables/disables whether or not Message properties and MapMessage entries support <a href="http://activemq.apache.org/structured-message-properties-and-mapmessages.html">Nested Structures</a> of Map and List objects |
boolean | objectMessageSerializationDefered
When an object is set on an ObjectMessage, the JMS spec requires the object to be serialized by that set method. |
boolean | optimizeAcknowledge
|
long | optimizeAcknowledgeTimeOut
The max time in milliseconds between optimized ack batches |
boolean | optimizedMessageDispatch
If this flag is set then an larger prefetch limit is used - only applicable for durable topic subscribers. |
string | password
Sets the JMS password used for connections created from this factory |
string | prefetchPolicy
Sets the <a href="http://activemq.apache.org/what-is-the-prefetch-limit-for.html">prefetch policy</a> for consumers created by this connection. |
integer | producerWindowSize
|
string | properties
Get the properties from this instance for storing in JNDI |
string | redeliveryPolicy
Sets the global redelivery policy to be used when a message is delivered but the session is rolled back |
boolean | sendAcksAsync
|
integer | sendTimeout
|
boolean | statsEnabled
|
string | transformer
Sets the transformer used to transform messages before they are sent on to the JMS bus or when they are received from the bus but before they are delivered to the JMS client |
string | transportListener
Allows a listener to be configured on the ConnectionFactory so that when this factory is used with frameworks which don't expose the Connection such as Spring JmsTemplate, you can still register a transport listener. |
boolean | useAsyncSend
Forces the use of <a href="http://activemq.apache.org/async-sends.html">Async Sends</a> which adds a massive performance boost; but means that the send() method will return immediately whether the message has been sent or not which could lead to message loss. |
boolean | useBeanNameAsClientIdPrefix
|
boolean | useCompression
Enables the use of compression of the message bodies |
boolean | useDedicatedTaskRunner
|
boolean | useRetroactiveConsumer
Sets whether or not retroactive consumers are enabled. |
string | userName
Sets the JMS userName used by connections created by this factory |
long | warnAboutUnstartedConnectionTimeout
Enables the timeout from a connection creation to when a warning is generated if the connection is not properly started via {@link Connection#start()} and a message is received by a consumer. |
boolean | watchTopicAdvisories
|
| Attribute Detail |
If this flag is set then a separate thread is not used for dispatching
messages for each Session in the Connection. However, a separate thread
is always used if there is more than one session, or the session isn't in
auto acknowledge or duplicates ok mode
Defined with global type boolean
Set true if always require messages to be sync sent
Defined with global type boolean
Defined with global type integer
Defined with global type integer
Defined with global type string
Sets the policy used to describe how out-of-band BLOBs (Binary Large
OBjects) are transferred from producers to brokers to consumers
Defined with global type string
Sets the <a
href="http://activemq.apache.org/configuring-transports.html">connection
URL</a> used to connect to the ActiveMQ broker.
Defined with global type string
Defined with global type boolean
Sets the JMS clientID to use for the created connection. Note that this
can only be used by one connection at once so generally its a better idea
to set the clientID on a Connection
Defined with global type string
Defined with global type string
Sets the prefix used by autogenerated JMS Client ID values which are used
if the JMS client does not explicitly specify on.
Defined with global type string
Allows an {@link ClientInternalExceptionListener} to be configured on the ConnectionFactory so that when this factory
is used by frameworks which don't expose the Connection such as Spring JmsTemplate, you can register
an exception listener.
<p> Note: access to this clientInternalExceptionListener will <b>not</b> be serialized if it is associated with more than
on connection (as it will be if more than one connection is subsequently created by this connection factory)
Defined with global type string
Sets the timeout before a close is considered complete. Normally a
close() on a connection waits for confirmation from the broker; this
allows that operation to timeout to save the client hanging if there is
no broker
Defined with global type integer
Defined with global type string
Sets the prefix used by connection id generator
Defined with global type string
Defined with global type long
Should a JMS message be copied to a new JMS Message object as part of the
send() method in JMS. This is enabled by default to be compliant with the
JMS specification. You can disable it if you do not mutate JMS messages
after they are sent for a performance boost
Defined with global type boolean
Sets whether or not timestamps on messages should be disabled or not. If
you disable them it adds a small performance boost.
Defined with global type boolean
Enables or disables the default setting of whether or not consumers have
their messages <a
href="http://activemq.apache.org/consumer-dispatch-async.html">dispatched
synchronously or asynchronously by the broker</a>. For non-durable
topics for example we typically dispatch synchronously by default to
minimize context switches which boost performance. However sometimes its
better to go slower to ensure that a single blocked consumer socket does
not block delivery to other consumers.
Defined with global type boolean
Allows an {@link ExceptionListener} to be configured on the ConnectionFactory so that when this factory
is used by frameworks which don't expose the Connection such as Spring JmsTemplate, you can register
an exception listener.
<p> Note: access to this exceptionLinstener will <b>not</b> be serialized if it is associated with more than
on connection (as it will be if more than one connection is subsequently created by this connection factory)
Defined with global type string
Enables or disables whether or not queue consumers should be exclusive or
not for example to preserve ordering when not using <a
href="http://activemq.apache.org/message-groups.html">Message Groups</a>
Defined with global type boolean
Defined with global type ID
Defined with global type boolean
Enables/disables whether or not Message properties and MapMessage entries
support <a
href="http://activemq.apache.org/structured-message-properties-and-mapmessages.html">Nested
Structures</a> of Map and List objects
Defined with global type boolean
When an object is set on an ObjectMessage, the JMS spec requires the
object to be serialized by that set method. Enabling this flag causes the
object to not get serialized. The object may subsequently get serialized
if the message needs to be sent over a socket or stored to disk.
Defined with global type boolean
Defined with global type boolean
The max time in milliseconds between optimized ack batches
Defined with global type long
If this flag is set then an larger prefetch limit is used - only
applicable for durable topic subscribers.
Defined with global type boolean
Sets the JMS password used for connections created from this factory
Defined with global type string
Sets the <a
href="http://activemq.apache.org/what-is-the-prefetch-limit-for.html">prefetch
policy</a> for consumers created by this connection.
Defined with global type string
Defined with global type integer
Get the properties from this instance for storing in JNDI
Defined with global type string
Sets the global redelivery policy to be used when a message is delivered
but the session is rolled back
Defined with global type string
Defined with global type boolean
Defined with global type integer
Defined with global type boolean
Sets the transformer used to transform messages before they are sent on
to the JMS bus or when they are received from the bus but before they are
delivered to the JMS client
Defined with global type string
Allows a listener to be configured on the ConnectionFactory so that when this factory is used
with frameworks which don't expose the Connection such as Spring JmsTemplate, you can still register
a transport listener.
Defined with global type string
Forces the use of <a
href="http://activemq.apache.org/async-sends.html">Async Sends</a> which
adds a massive performance boost; but means that the send() method will
return immediately whether the message has been sent or not which could
lead to message loss.
Defined with global type boolean
Defined with global type boolean
Enables the use of compression of the message bodies
Defined with global type boolean
Defined with global type boolean
Sets whether or not retroactive consumers are enabled. Retroactive
consumers allow non-durable topic subscribers to receive old messages
that were published before the non-durable subscriber started.
Defined with global type boolean
Sets the JMS userName used by connections created by this factory
Defined with global type string
Enables the timeout from a connection creation to when a warning is
generated if the connection is not properly started via
{@link Connection#start()} and a message is received by a consumer. It is
a very common gotcha to forget to <a
href="http://activemq.apache.org/i-am-not-receiving-any-messages-what-is-wrong.html">start
the connection</a> so this option makes the default case to create a
warning if the user forgets. To disable the warning just set the value to <
0 (say -1).
Defined with global type long
Defined with global type boolean
| FUSE ESB 4.4 XML Configuration Reference | ||||||
| SUMMARY: DOCUMENTATION | ELEMENTS | ATTRIBUTES | FRAMES | NO FRAMES | ||||||