Skip to main content

GetJMSQueue

弃用通知:

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

建议参考如下选择:

ConsumeJMS

描述:

此组件已弃用,建议使用ConsumeJMS替代,Pulls messages from a ActiveMQ JMS Queue, creating a FlowFile for each JMS Message or bundle of messages, as configured

标签:

jms, queue, listen, get, pull, source, consume, consumer

参数:

如下列表中,必填参数则标识为加粗. 其他未加粗参数,则表示为可选参数。表中同时提到参数默认值设置, 并且 如果将一个参数认定为"敏感", 表示是加密状态. 在输入一个敏感参数时, 确保 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
通信超时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服务安全。
Acknowledgement ModeClient Acknowledge
- Client Acknowledge
- Auto Acknowledge
The JMS Acknowledgement Mode. Using Auto Acknowledge can cause messages to be lost on restart of NiFi but may provide better performance than Client Acknowledge.
Message SelectorThe JMS Message Selector to use in order to narrow the messages that are pulled
Copy JMS Properties to Attributes拷贝
- 拷贝
- 不拷贝
Whether or not the JMS Message Properties should be copied to the FlowFile Attributes; if so, the attribute name will be jms.XXX, where XXX is the JMS Property name
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 are routed to success

读取属性:

未提供。

写入属性:

未提供。

状态管理:

该组件不保存状态。

限制:

该组件没有限制

输入流要求:

组件禁止提供输入流。

系统资源考量:

未提供。

参考:

PutJMS