Element Summary

ElementDescriptionClass
clientProxyFactoryFactory bean for JMS proxies. Behaves like the proxied service when used as bean reference, exposing the specified service interface.

The service URL must be an JMS URL exposing a JMS service. For details, see JmsClientInterceptor docs.

org.logicblaze.lingo.jms.JmsProxyFactoryBean
producerConfigA simple bean of JMS producer configuration options.org.logicblaze.lingo.jms.JmsProducerConfig
serviceExporterA JMS MessageListener that exports the specified service bean as a JMS service endpoint, accessible via a JMS proxy.

Note: JMS services exported with this class can be accessed by any JMS client, as there isn't any special handling involved.

org.logicblaze.lingo.jms.JmsServiceExporter
serviceExporterMessageListenerA JMS MessageListener that exports the specified service bean as a JMS service endpoint, accessible via a JMS proxy.

Note: JMS services exported with this class can be accessed by any JMS client, as there isn't any special handling involved.

org.logicblaze.lingo.jms.JmsServiceExporterMessageListener

Element Detail

Element: clientProxyFactory

AttributeTypeDescription
clientIDxs:stringSets the JMS connections unique clientID. This is optional unless you wish to use durable topic subscriptions. Only one connection can have a given clientID at any time.
correlationIDxs:string
jmsPriorityxs:integerSets the JMS priority of the request message
jmsTypexs:stringSets the JMS message type string which is appended to messages if set
multipleResponseTimeoutxs:longSets the maximum amount of time to wait for multiple results to come back if communicating with multiple servers and aggregating together the results.
multipleResponsesExpectedxs:booleanSets whether or not multiple response messages are expected. Typically multiple responses are only expected when the {@link #getDestination()} method returns a {@link Topic} but there could be circumstances when sending a request to a queue results in messages being fanned out to many servers which could all respond.
persistentDeliveryxs:booleanSets the delivery mode to be persistent or non-persistent.
remoteReferenceTimeoutxs:longSets the maximum amount of time an inactive remote object reference will keep around until it is garbage collected.
responseTimeoutxs:longSets the maximum amount of time (in milliseconds) to wait for responses to come back before timing out the request. You should typically set this value greater than the {@link #getTimeToLive()} property which is used to set the expiration time on the request message.
serviceInterfacexs:string
serviceUrlxs:string
timeToLivexs:integerSets the JMS expiration timeout (in milliseconds) of the request message
ElementTypeDescription
connectionFactory<spring:bean/>Used to create a default {@link Requestor} if no requestor is explicitly configured.
destination<spring:bean/>Sets the destination used to make requests
marshaller<spring:bean/>
messageProperties<spring:bean/>Sets the message properties to be added to each message. Note that the keys should be Strings and the values should be primitive types.
metadataStrategy<spring:bean/>
producerConfigproducerConfigSets the configuration of the producer used to send back responses
remoteInvocationFactory<spring:bean/>
requestor<spring:bean/>
responseDestination<spring:bean/>Sets the destination used to consume responses on - or null and a temporary queue will be created.

Element: producerConfig

AttributeTypeDescription
acknowledgementModexs:integer
clientIDxs:stringSets the JMS connections unique clientID. This is optional unless you wish to use durable topic subscriptions. Only one connection can have a given clientID at any time.
deliveryModexs:integer
disableMessageIDxs:boolean
disableMessageTimestampxs:boolean
priorityxs:integer
timeToLivexs:integer
transactedModexs:boolean
ElementTypeDescription
connectionFactory<spring:bean/>

Element: serviceExporter

AttributeTypeDescription
clientIDxs:stringSets the JMS connections unique clientID. This is optional unless you wish to use durable topic subscriptions. Only one connection can have a given clientID at any time.
ignoreFailuresxs:booleanSets whether or not failures should be ignored (and just logged) or thrown as runtime exceptions into the JMS provider
messageSelectorxs:stringSets the message selector applied to the subscription
noLocalxs:booleanSets whether or not topic subscriptions should receive locally produced messages
persistentDeliveryxs:booleanSets the delivery mode to be persistent or non-persistent.
registerTraceInterceptorxs:boolean
serviceInterfacexs:string
subscriberNamexs:stringSets the durable subscriber name and enables a durable subscription.
ElementTypeDescription
connectionFactory<spring:bean/>Used to create a default {@link JmsProducer} if no producer is explicitly configured.
destination<spring:bean/>If specified then the service will be auto-subscribed to this destination
invocationFactory<spring:bean/>
marshaller<spring:bean/>
metadataStrategy<spring:bean/>
producerConfigproducerConfigSets the configuration of the producer used to send back responses
remoteInvocationExecutor<spring:bean/>
responseRequestor<spring:bean/>
service<spring:bean/>

Element: serviceExporterMessageListener

AttributeTypeDescription
clientIDxs:stringSets the JMS connections unique clientID. This is optional unless you wish to use durable topic subscriptions. Only one connection can have a given clientID at any time.
ignoreFailuresxs:booleanSets whether or not failures should be ignored (and just logged) or thrown as runtime exceptions into the JMS provider
persistentDeliveryxs:booleanSets the delivery mode to be persistent or non-persistent.
registerTraceInterceptorxs:boolean
serviceInterfacexs:string
ElementTypeDescription
connectionFactory<spring:bean/>Used to create a default {@link JmsProducer} if no producer is explicitly configured.
invocationFactory<spring:bean/>
marshaller<spring:bean/>
metadataStrategy<spring:bean/>
producerConfigproducerConfigSets the configuration of the producer used to send back responses
proxy<spring:bean/>
remoteInvocationExecutor<spring:bean/>
responseRequestor<spring:bean/>
service<spring:bean/>