...
You can configure virtual assets to send and receive messages to a queue or a topic. Refer to JMS 1 for details about configuring JMS settings.
...
(Optional) When the same queue is being used by multiple services, it is helpful to specify a message selector expression. For example, if the message selector expression is "product =
'virtualize'"
, then the virtual assets will select only messages in the queues/topics that have a JMS Message Property product
with the value virtualize
. See Using Message Selector Filters for tips.
Worker count
Worker count impacts the number of listener worker threads that get created. See Adjusting the Worker Count for details.
...
Specifies the key used to look up the MOM-specific factory from the initial context. This can be either a Queue Connection Factory or a Topic Connection Factory. Be sure to add the related jars to the Virtualize classpath. See JMS Provider Configuration for tips on which factory classes to add for your specific JMS provider.
...
When debugging the environment and testing virtual asset configuration, you might want to use the Queue browser to review queue contents. This visibility can be very helpful when you are trying to understand and resolve unexpected behavior.For details, see Browsing Queues_virt.
MQ Settings
Virtual assets can emulate services that communicate over IBM WebSphere MQ queues if you configure the necessary MQ settings. Refer to IBM WebSphere MQ for additional details.
You can specify the following MQ settings.
...
When debugging the environment and testing the virtual asset configuration, you might want to use the Queue browser to review queue contents. This visibility can be very helpful when you are trying to understand and resolve unexpected behavior.
For details, see Browsing Queues_virt.
Adjusting the Worker Count
Anchor | ||||
---|---|---|---|---|
|
...