is an option specifying the action to execute on the channel broker server in addition to routing a message.
ChannelBrokerAction
is an option specifying the action to execute on the channel broker server in addition to routing a message.
Examples
open all close allBasic Examples (1)
bin = CreateDatabin[Permissions -> "Public"]Create a channel that appends incoming messages to the databin:
channel = CreateChannel["databin", ChannelBrokerAction -> "https://datadrop.wolframcloud.com/api/v1.0/Add?bin=" <> bin["ShortID"], Permissions -> "Public"]Send a message to the channel:
ChannelSend[channel, "hello"]Retrieve the message from the databin:
Lookup[ImportString[bin["Entries"][[1, "Message"]], "JSON"], "WL_Data"]Delete the databin and channel:
DeleteObject[bin];
DeleteChannel[channel];Properties & Relations (1)
Deploying ChannelReceiverFunction sets ChannelBrokerAction for the associated channel object:
CloudDeploy[ChannelReceiverFunction[#&]]Options[ChannelObject[%], ChannelBrokerAction]DeleteChannel[ChannelObject[%%]];Related Guides
History
Text
Wolfram Research (2017), ChannelBrokerAction, Wolfram Language function, https://reference.wolfram.com/language/ref/ChannelBrokerAction.html.
CMS
Wolfram Language. 2017. "ChannelBrokerAction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ChannelBrokerAction.html.
APA
Wolfram Language. (2017). ChannelBrokerAction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChannelBrokerAction.html
BibTeX
@misc{reference.wolfram_2026_channelbrokeraction, author="Wolfram Research", title="{ChannelBrokerAction}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/ChannelBrokerAction.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_channelbrokeraction, organization={Wolfram Research}, title={ChannelBrokerAction}, year={2017}, url={https://reference.wolfram.com/language/ref/ChannelBrokerAction.html}, note=[Accessed: 12-June-2026]}