Red Hat Training

A Red Hat training course is available for Red Hat Fuse

Appendix A. Consumer Endpoint Properties

A.1. Common Properties

Attributes

The attributes described in Table A.1, “Common Consumer Endpoint Property Attributes” can be used on all elements used to configure a consumer endpoint.

Table A.1. Common Consumer Endpoint Property Attributes

NameTypeDescriptionRequired
connectionFactorystringSpecifies a reference to the bean configuring the connection factory which is to be used by the endpoint.yes
serviceQNameSpecifies the service name of the proxied endpoint.yes
endpointstringSpecifies the endpoint name of the proxied endpoint.yes
interfaceNameQNameSpecifies the interface name of the proxied endpoint.no
jms102 booleanSpecifies if the consumer uses JMS 1.0.2 compliant APIs.no (defaults to false)
pubSubDomaimbooleanSpecifies if the destination is a topic.no
replyDeliveryModeintSpecifies the JMS delivery mode used for the reply.no (defaults to PERSISTENT(2))
replyDestinationNamestringSpecifies the name of the JMS destination to use for the reply.no (if not set replyDestination or destinationChooser is used)
replyExplicitQosEnabledbooleanSpecifies if the QoS values specified for the endpoint are explicitly used when the reply is sent.no (default is false)
replyPriorityintSpecifies the JMS message priority of the reply.no (defaults to 4)
replyTimeToLivelongSpecifies the number of milliseconds the reply message is valid.no (defaults to unlimited)
statelessbooleanSpecifies if the consumer retains state information about the message exchange while it is in process.no
synchronousbooleanSpecifies if the consumer will block while waiting for a response. This means the consumer can only process one message at a time.no (defaults to true)
targetEndpointstringSpecifies the endpoint name of the target endpoint.no (defaults to the endpoint attribute)
targetInterfaceQNameSpecifies the interface name of the target endpoint.no
targetServiceQNameSpecifies the service name of the target endpoint.no (defaults to the service attribute)
targetUristringSpecifies the URI of the target endpoint.no
useMessageIdInResponsebooleanSpecifies if the request message's ID is used as the reply's correlation ID.no (defaults to false meaning the request's correlation ID is used)

Beans

The elements described in Table A.2, “Common Consumer Endpoint Property Beans” can be used on all elements used to configure a consumer endpoint.

Table A.2. Common Consumer Endpoint Property Beans

NameTypeDescriptionRequired
marshalerJmsConsumerMarshalerSpecifies the class implementing the message marshaler.no (defaults to DefaultConsumerMarshaler)
destinationChooserDestinationChooserSpecifies a class implementing logic for choosing reply destinations.no
destinationResolver DestinationResolver Specifies the class implementing logic for converting strings into destination IDs.no (defaults to DynamicDestinationResolver)
replyDestination Destination Specifies the JMS destination for the replies.no (if not set either the replyDestinationName or the destinationChooser is used)
replyProperties Map Specifies custom properties to be placed in the reply's JMS header.no
storeFactory StoreFactory Specifies the factory class used to create the data store for state information.no (defaults to MemoryStoreFactory)
store Store Specifies the data store used to store state information.no