Is it possible to generate a unique BlobOutput name from an Azure WebJobs QueueInput item? -


i have continuous azure webjob running off of queueinput, generating report, , outputting file bloboutput. job run differing sets of data, each requiring unique output file. (the number of inputs guaranteed scale on time, cannot write single job per input.) able run off of queueinput, cannot find way set output based on queueinput value, or value except blob input name.

as example, want do, though invalid code , fail.

public static void job([queueinput("inputqueue")] inputitem input, [bloboutput("fileoutput/{input.name}")] stream output) {     //job work here } 

i know similar if used blobinput instead of queueinput, prefer use queue job. missing or generating unique output queueinput not possible?

there 2 alternatives:

  1. use ibinder generate blob name. shown in these samples
  2. have autogenerated in queue message object , bind blob name property. see here (the blobnamefromqueuemessage method) how bind queue message property blob name

Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -