Configuring an agent to perform file-to-message transfers
By default agents cannot perform file-to-message or message-to-file transfers. To enable this function you must set the agent property enableQueueInputOutput to true.
About this task
If
you attempt to perform a file-to-message transfer to a destination
agent that does not have the enableQueueInputOutput property
set to true, the transfer fails. The transfer log message that is
published to the coordination queue manager contains the following
message:
BFGIO0197E: An attempt to write to a queue was rejected by the destination agent. The agent must have enableQueueInputOutput=true set in the agent.properties file to support transferring to a queue.
To
enable the agent to write to and read from queues perform the following
steps: Procedure
- Stop the destination agent using the fteStopAgent command.
- Edit the agent.properties file to include the line enableQueueInputOutput=true. The agent.properties file is located in the directory configuration_directory/coordination_qmgr/agents/destination_agent_name.
- Start the destination agent using the fteStartAgent command.