Good to know MQ confirguation

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=%2Fcom.ibm.mq.csqzaw.doc%2Fuj19900_.htm

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzav.doc/un11010_.htm

when MQQueueManager try to access the queue, with certain options, lets say

MQOO_SET

on security queues, you might get authorisation failure.

openOptions
Options that control the opening of the queue. Valid options are:

MQC.MQOO_ALTERNATE_USER_AUTHORITY
Validate with the specified user identifier.
MQC.MQOO_BIND_AS_QDEF
Use default binding for queue.
MQC.MQOO_BIND_NOT_FIXED
Do not bind to a specific destination.
MQC.MQOO_BIND_ON_OPEN
Bind handle to destination when queue is opened.
MQC.MQOO_BROWSE
Open to browse message.
MQC.MQOO_FAIL_IF_QUIESCING
Fail if the queue manager is quiescing.
MQC.MQOO_INPUT_AS_Q_DEF
Open to get messages using queue-defined default.
MQC.MQOO_INPUT_SHARED
Open to get messages with shared access.
MQC.MQOO_INPUT_EXCLUSIVE
Open to get messages with exclusive access.
MQC.MQOO_INQUIRE
Open for inquiry – required if you want to query properties.
MQC.MQOO_OUTPUT
Open to put messages.
MQC.MQOO_PASS_ALL_CONTEXT
Allow all context to be passed.
MQC.MQOO_PASS_IDENTITY_CONTEXT
Allow identity context to be passed.
MQC.MQOO_SAVE_ALL_CONTEXT
Save context when message retrieved*.
MQC.MQOO_SET
Open to set attributes —required if you want to set properties.
MQC.MQOO_SET_ALL_CONTEXT
Allows all context to be set.
MQC.MQOO_SET_IDENTITY_CONTEXT
Allows identity context to be set.

Advertisements

to use simple expression (dynamic) in camel to uri, or routeDefinition

http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html

seems like

recipientList(simple("freemarker://templateHome/${body.templateName}.ftl"))

is the only way to use expression in recipient endpoint.