Changes for page Command Queue
Last modified by Erik Bakker on 2024/02/22 13:38
From version 14.1
edited by Erik Bakker
on 2022/07/28 10:27
on 2022/07/28 10:27
Change comment:
There is no comment for this version
To version 8.1
edited by Erik Bakker
on 2022/07/26 12:49
on 2022/07/26 12:49
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Command Queue1 +Image Transformations - Default language
-
... ... @@ -1,1 +1,0 @@ 1 -en - Content
-
... ... @@ -1,5 +1,5 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 - Within theplatformofeMagiz,sometimes youneedto sendaparticularcommandfromtheMagizportaltoretrieveinformationorexecutea specificaction.Thesecommandscanhappen fromheDeployandtheManage phase. The two mostnoteworthy examplesofthetriggered commandqueueare theruntimedashboardfunctionalitiesandthemessage redeliveryactions.2 +In most cases, you will transform XML messages to other XML messages, or you will transform JSON or EDI messages in another of these formats. However, sometimes you want to perform an image transformation. With this image transformation you can transform images in certain formats to another format (i.e. png). This can come in handy when you want to standardize the image format before using it further downstream in your business application(s). 3 3 4 4 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 ... ... @@ -9,36 +9,51 @@ 9 9 10 10 == 2. Key concepts == 11 11 12 -This microlearning focuses on thecommandqueue. The command queuecommunicates between the eMagiz portal andan eMagizruntime.12 +This microlearning focuses on performing image transformations in eMagiz. 13 13 14 -* Commands towards a runtime, for example, to retrieve runtime information in the runtime dashboard, are sent via the command queue 15 -* You can monitor the command queue the same way as any other queue within your model 16 -* The command queue is prominently used when accessing the [[Runtime Dashboard>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-deploy-runtime-dashboard.WebHome||target="blank"]] and when using [[Message Redelivery>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Message Redelivery.WebHome||target="blank"]] 14 +With image transformation, we mean transforming the raw data that represents an image to another image format. 17 17 18 -== 3. Command queue == 16 +* Read the helptext of the component to understand which formats are supported 17 +* Ensure the input image is supplied in the correct format 18 +* Ensure you wrap the output image in something if you want to do additional transformations on the data further downstream 19 19 20 - Withintheplatformof eMagiz, sometimesyou need to send a particular command from the eMagiz portal to retrieve information or execute a specific action.These commands can happen from the Deployand the Manage phase. The two most noteworthy examples ofthe triggered command queue are the runtime dashboard functionalitiesand the message redelivery actions.20 +== 3. Image Transformation == 21 21 22 - Forexample,whenyou navigate theRuntimeDashboardandclickonaruntime,theMagizportalwill senda commandtotheuntimevia thecommandqueuetoretrievetheruntimestate.So,for example,thesamelogicapplieswhen you select a flowandstopit.22 +In most cases, you will transform XML messages to other XML messages, or you will transform JSON or EDI messages in another of these formats. However, sometimes you want to perform an image transformation. With this image transformation you can transform images in certain formats to another format (i.e. png). This can come in handy when you want to standardize the image format before using it further downstream in your business application(s). 23 23 24 - ForMessageredelivery,the commandqueueretrievesallmessagesinthedeadletterqueueandresendsmessagesviathecommand queue.24 +Before we dive into the specifics of how to configure this let us first consider the following: 25 25 26 -{{info}}When all commands sent from the eMagiz portal are not working across models, something is probably broken in the backend of the eMagiz platform. In these cases, please contact us at [[support@emagiz.com>>mailto:support@emagiz.com]]{{/info}} 26 +* Read the helptext of the component to understand which formats are supported 27 +* Ensure the input image is supplied in the correct format 28 +* Ensure you wrap the output image in something if you want to do additional transformations on the data further downstream 27 27 30 +{{warning}}The focus of this microlearning lies on the image transformer component. Ensuring that the input is useful and the output fits the remainder of the process is highly depending on the use case and will therefore not be discussed in this microlearning{{/warning}} 31 + 32 +When turning to the Create phase of eMagiz, we need to open the flow and enter "Start Editing" mode to add the component we need. For example, in the left panel, you can search for "Image". This will yield the following result. 33 + 34 +[[image:Main.Images.Microlearning.WebHome@expert-create-your-transformations-image-transformation-image-transformation-component.png]] 35 + 28 28 == 4. Assignment == 29 29 30 -There is no assignment for this microlearning. 38 +Check out which of the XPaths we have discussed today can be found within your project. 39 +This assignment can be completed within the (Academy) project you created/used in the previous assignment. 31 31 32 32 == 5. Key takeaways == 33 33 34 -* Commands towards a runtime, for example, to retrieve runtime information in the runtime dashboard, are sent via the command queue 35 -* You can monitor the command queue the same way as any other queue within your model 36 -* The command queue is prominently used when accessing the [[Runtime Dashboard>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-deploy-runtime-dashboard.WebHome||target="blank"]] and when using [[Message Redelivery>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Message Redelivery.WebHome||target="blank"]] 43 +Some of the very complex XPath options are: 37 37 45 +* matches 46 +* replace 47 +* tokenize 48 + 38 38 == 6. Suggested Additional Readings == 39 39 40 - There are nosuggested additionalreadings.51 +If you are interested in this topic and want more information on it, please read the help text provided by eMagiz and read more information on the following links: 41 41 53 +* http://www.xsltfunctions.com/xsl/fn_matches.html 54 +* http://www.xsltfunctions.com/xsl/fn_replace.html 55 +* http://www.xsltfunctions.com/xsl/fn_tokenize.html 56 + 42 42 == 7. Silent demonstration video == 43 43 44 44 As this is more of theoretical microlearning, there is no video accompanying the microlearning.)))((({{toc/}}))){{/container}}{{/container}}