Skip to main content

PutJMS

弃用通知:

此组件已弃用,在将来的版本中可能会删除。

建议参考如下选择:

PublishJMS

描述:

此组件已弃用,建议使用PublishJMS替代,Creates a JMS Message from the contents of a FlowFile and sends the message to a ActiveMQ JMS Server.

标签:

jms, send, put

参数:

如下列表中,必填参数则标识为加粗. 其他未加粗参数,则表示为可选参数。表中同时提到参数默认值设置, 参数还支持 表达式语言, 并且 如果将一个参数认定为"敏感", 表示是加密状态. 在输入一个敏感参数时, 确保 orchsym.properties 文件中存在属性设置 orchsym.sensitive.props.key.

名字默认值允许值列表描述
JMS ProviderActiveMQ
- ActiveMQ
The Provider used for the JMS Server
URLThe URL of the JMS Server
Destination NameThe name of the JMS Topic or queue to use
Destination TypeQueue
- Queue
- Topic
The type of the JMS Destination to use
通信超时30 secThe amount of time to wait when attempting to receive a message before giving up and assuming failure
消息分批数量10The number of messages to pull/push in a single iteration of the processor
UsernameUsername used for authentication and authorization
PasswordPassword used for authentication and authorization

敏感状态
SSL服务控制器服务API:
SSLContextService
实现:
StandardRestrictedSSLContextService
StandardSSLContextService
用于保证服务器的SSL服务安全。
Message Typebyte
- byte
- stream
- text
- map
- empty
The Type of JMS Message to Construct
Message PriorityThe Priority of the Message

支持表达式语言 (支持流属性和变量)
Reply-To QueueThe name of the queue to which a reply to should be added

支持表达式语言 (支持流属性和变量)
Max Buffer Size1 MBThe maximum amount of data that can be buffered for a JMS Message. If a FlowFile's size exceeds this value, the FlowFile will be routed to failure.
Message Time to LiveThe amount of time that the message should live on the destination before being removed; if not specified, the message will never expire.
Copy Attributes to JMS Propertiestrue
- true
- false
Whether or not FlowFile Attributes should be translated into JMS Message Properties. If true, all attributes starting with 'jms.' will be set as Properties on the JMS Message (without the 'jms.' prefix). If an attribute exists that starts with the same value but ends in '.type', that attribute will be used to determine the JMS Message Property type.
Client ID PrefixA human-readable ID that can be used to associate connections with yourself so that the maintainers of the JMS Server know who to contact if problems arise

连线:

名字描述
successAll FlowFiles that are sent to the JMS destination are routed to this relationship
failureAll FlowFiles that cannot be routed to the JMS destination are routed to this relationship

读取属性:

未提供。

写入属性:

未提供。

状态管理:

该组件不保存状态。

限制:

该组件没有限制

输入流要求:

组件必须提供输入流。

系统资源考量:

未提供。

参考:

GetJMSQueue, GetJMSTopic