Alternera.Plugins.AnypointMq.Editor (alternera_plugin_anypoint_mq v0.9.0)

Copy Markdown View Source

Editor for an Anypoint MQ step's settings (Alternera.Plugins.AnypointMq), on the editor contract (Alternera.Plugin.Editor):

  • Operation, a segmented Publish / Consume / Ack / Nack. Switching drops the settings of the other operations, so the save never sees a key the new one does not take; Ack and Nack start with the message and lock of a For each's item (${input.item.message_id}, ${input.item.lock_id}).
  • Broker URL, Organization id and Environment id: blank leaves them to a Configuration step (Editor.ByMatch).
  • Destination and Proxy user (granted_proxy_users).
  • Publish: Body (source, Editor.LocationPicker, the side's body by default), Message id, Message group id, Delivery delay and Properties rows.
  • Consume: Polling time, Batch size, Lock time, When no message comes and Acknowledge, with a note that a consume trigger reads a queue itself and a continuous one runs this step.
  • Ack and Nack: Message id and Lock id.
  • To (targets), the TargetList of the plugin's outputs.

A text field is stored trimmed and left out when blank, a number as an integer when it is one and as typed otherwise, so the save refuses it by name (Plugin.Editor.put_text/3, put_number/3). The settings go to the pipeline editor with Plugin.Editor.notify_step_settings_changed/2.