Changes for page eMagiz Mendix Connector 3.0.0 -> 5.0.0
Last modified by Erik Bakker on 2025/02/25 16:09
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -e MagizMendixConnector3.0.0>5.0.01 +migration-path-emagiz-mendix-connector-4.2.0-to-5.0.0 - Parent
-
... ... @@ -1,1 +1,1 @@ 1 -WebHome 1 +xwiki:Main.eMagiz Support.Migration Paths.WebHome - Content
-
... ... @@ -1,93 +1,75 @@ 1 -{{container}} 2 -{{container layoutStyle="columns"}} 3 -((( 4 -This document describes the difference between the 3.0 version of the eMagiz Mendix Connector and the 4.X and onwards versions of the eMagiz Mendix Connector. On top of that it describes the checks and balances one has to go through while migrating from the 3.0 version to a newer version. 1 +{{html wiki="true"}} 2 +<div class="ez-academy"> 3 + <div class="ez-academy_body"> 5 5 6 - == 1. Positioning==5 +<div class="doc"> 7 7 8 -This packages has been created to support clients that are moving towards Mendix 8 in their environment. The latest version of eMagiz has been upgraded to use AMQP queues, which effectively means that direct connections from Mendix to onramp and offramp queues can be made. This has a positive effect as less effort is required in Mendix to interact with eMagiz and there is an easier management of the environment as only the infra flows need to be deployed (no exit and entry flows managed in Mendix). 9 9 10 -To take benefit from this, eMagiz has released this version to take the first steps in this direction. Below are some more details and instructions to use this new version. Please read these carefully. 11 11 12 -{{warning}} 13 -This version removes the web service layer from the eMagiz Mendix Connector. Mendix now connects to the eMagiz bus directly using Java Actions in microflows. The first upgrade to this new version may take more time for development and testing than previous updates of the eMagiz Mendix Connector. After that, however, it should be easier in use for both Mendix and eMagiz developers. 14 -{{/warning}} 9 += Migration Path * eMagiz Mendix Connector 4.2.0 -> 5.0.0 = 15 15 16 -Please find the package on the usual location: Under Deploy --> On-premise --> Runtime downloads tab 11 +Below you will find a document describing the migration path to upgrade your eMagiz Mendix Connector from version 4.2.0 to 5.0.0. 12 +In case you want to implement an eMagiz Mendix Connector in a new Mendix project, ensure that you retrieve the latest version from the Mendix Marketplace as that will guarantee that the latest version is immediately chosen so you can implement it. 17 17 18 - ==2.Comparison==14 +Should you have any questions, please get in touch with academy@emagiz.com. 19 19 20 -| Mendix V6/V7 Connector| Mendix V8 Connector|\\ 21 -| -- --| -- --|\\ 22 -| Messages received in XML | Messages received in XML, JSON or Data Model|\\ 23 -| Web service required to receive messages. For sending messages, a Request Handler in the Mendix model is required | Direct connection to the eMagiz queue (onramp/offramp) made via Java Action|\\ 24 -| Each flow (exit, entry and infra) needs to be deployed | Only infra flow needs to be deployed once, microflows connected to the queues directly|\\ 25 -|Incoming webservice|Microflow - Java action details | 16 +* Last update: March 1st, 2022 17 +* Required reading time: 4 minutes 26 26 27 -== 3.Migration Path==19 +== 1. Prerequisites == 28 28 29 -* Download the package and update the eMagiz Mendix Connector. If you are unsure how, please check out this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Legacy Functionality.novice-mendix-connectivity-update-emagiz-mendix-connector.WebHome||target="blank"]] 30 -* Locate the name of the queue that interacts with Mendix web service currently in place 31 -* Remove the Web service components in the Mendix model 32 -* At the point where this web service component was called, replace it with the appropriate Java action from the Connector module. Use the queue name located in the first step. 33 -* Use the configuration items of the Java action as described in the approriate [[microlearnings>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Mendix connectivity.WebHome||target="blank"]] 34 -* Test if the messages are properly working 21 +* Basic knowledge of the eMagiz platform 22 +* Understanding of eMagiz Mendix Connectors 23 +* A need to upgrade from 4.2.0 to 5.0.0 35 35 36 - **Key considerations**25 +== 2. Key concepts == 37 37 38 -* Checkif [%CurrentUser%]is notused in the microflow whenprocessing incomingmessages. Mendix losesthisvaluewhen using a Java actionmicroflow.An error messageisgeneratedandthemessageis notprocessed.39 -* Understand theimpact ofheuser thatisupdating/creating the domain modelbject.Thewebserviceuser isnolongerused to update/create the domain model object40 -* A bestpractice can be tostore the XSDs ofthe various integrationsintotheresources folder of the mendixprojectsothatthe entire team has access to the latest41 -* During restart of theMendix application,thereis no consumeronthe synchronous response queues. Once thefirst messageis processed, the consumerwill become active. eMagiz alertingwilltrigger on thisscenario which canbeconsidered a false positive.27 +* The exit connector needs to be configured in eMagiz to make the connection work 28 +* The after startup microflow has been renamed 29 +* The configuration will be downloaded automatically 30 +* The flow overview (XML configuration overview) has returned 42 42 43 -== 4. Key takeaways == 44 44 45 -Please take care of the following items when you start to use this version of the Connector to ensure you can use it properly 46 46 47 -* Use supplied Java actions in the eMagiz Mendix connector to set up the connections 48 -* These 2 libraries could cause issues with the current version of the Connector - please evaluate the necessity of these before deleting them 49 -** xerces.xercesImpl.2.8.1.jar 50 -** xmlbeans-3.0.1.jar.ExcelImporter.jar 51 -* Make sure that you configure the exits in eMagiz correctly when using the latest version of the eMagiz Mendix Connector. 34 +== 3. Migration Path * eMagiz Mendix Connector 4.2.0 -> 5.0.0 == 52 52 53 -== 5. Addendum eMagiz Mendix Connector 5.1.0 == 36 +Below you will find a document describing the migration path to upgrade your eMagiz Mendix Connector from version 4.2.0 to 5.0.0. 37 +In case you want to implement an eMagiz Mendix Connector in a new Mendix project, ensure that you retrieve the latest version from the Mendix Marketplace as that will guarantee that the latest version is immediately chosen so you can implement it. 54 54 55 - Withthe release of thenewewst version of the eMagiz Mendix Connectora coupleofthingshave changed.39 +Below we have written down the steps to migrate from the 4.2.0 to the 5.0.0 version of the eMagiz Mendix Connector. Follow these steps carefully to acquire the desired result. 56 56 57 -* On project startup the connector-infra configuration is downloaded, installed, and started automatically. 58 -** When it is not possible to retrieve the active release, the previous connector-infra will be used. 59 -** The Configuration Overview snippet is back so you can download the release if needed. 60 -* Improved exception handling for synchronous entry integrations. 61 -** Standard eMagiz bus exceptions are recognized and converted into Mendix exceptions. 62 -** Improved way of working with synchronous exits and entries in combination with the import and export mapping (or the absence of them) 41 +=== 3.1 Retrieve latest eMagiz Mendix Connector === 63 63 64 -{{info}} 65 -Note that this is a brief description of how to migrate from 3.0.0 to a higher version of the eMagiz Mendix Connector. For a full migration path from 4.2.0 towards 5.X.0 please see this [[migration path>>doc:Main.eMagiz Support.Migration Paths.migration-path-emagiz-mendix-connector-420-to-500||target="blank"]] 66 -{{/info}} 43 +The first step would be to download the latest version of the eMagiz Mendix Connector. You can do this via the marketplace of Mendix, or you can navigate within your eMagiz model to Deploy -> On-premises and open the tab Runtime Downloads to download the latest version that works for the Mendix version your project is running in. 67 67 68 - === 5.1 Infradownload,installationand starting===45 +[[image:novice-mendix-connectivity-update-emagiz-mendix-connector--emc-download-screen.png]] 69 69 70 -In older versions of the eMagiz Mendix Connector (3.0.0 and lower) you always needed to download the .emc package, manually upload it in Mendix and start the Infra flow by hand. 71 -With the introduction of this release we have made a change that automatically downloads, installs and starts the Infra flow belonging to this specific Mendix application. 47 +=== 3.2 Update the eMagiz Mendix Connector === 72 72 73 - [[image:Main.Images.Migrationpath.WebHome@emc8-after-startup-retrieve-infra.png]]49 +Please read the following [microlearning](../microlearning/novice-mendix-connectivity-update-emagiz-mendix-connector.md) as this microlearning details how you should update your eMagiz Mendix Connector. 74 74 75 -This way you never have to execute those steps and eMagiz ensures that the Infra flow is the first to start up before any exits are registered. 76 -To make this possible we have added logic to the AfterStartup microflow of eMagiz to retrieve the properties from eMagiz, download the infra and start the infra. 51 +=== 3.3 Specific configuration === 77 77 78 - In case thereis a problemwithinternetconnectivityoryousimply cannotreacheMagiz,themicroflowensuresthatthe latest knowninfrawillbestartedup.53 +The following points warrant additional actions on your part as they are needed to make the solution work within version 5.0.0 79 79 80 -== 6. Suggested Additional Readings == 55 +* The after startup microflow within the module has been renamed. Ensure that you refer to the new and correct after startup microflow within your own after startup microflow or directly from the Project settings. Note that the after startup microflow is now called AfterStartup 56 +* The register microflow is not needed anymore in version 5.0.0. To make the solution work in 5.0.0, you need to change the exit flows in the portal to define the correct information. 57 + * For asynchronous exits you can check out this [microlearning](../microlearning/intermediate-mendix-connectivity-calling-an-asynchronous-webservice-in-mendix.md) on how to exactly configure the exit flow correctly 58 + * For synchronous exits you can check out this [microlearning](../microlearning/intermediate-mendix-connectivity-calling-a-synchronous-webservice-in-mendix.md) on how to exactly configure the exit flow correctly 59 +* The XML Configuration overview has returned (XmlConfiguration_Overview). So make sure that the relevant role(s) can view this overview in case a migration needs to be performed or a manual download is needed. 81 81 82 -* [[Migration Paths (Navigation)>>doc:Main.eMagiz Support.Migration Paths.WebHome||target="blank"]] 83 -** [[eMagiz Mendix Connector 4.2.0 -~> 5.0.0 (Explanation)>>doc:Main.eMagiz Support.Migration Paths.migration-path-emagiz-mendix-connector-420-to-500||target="blank"]] 84 -* [[Novice Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Novice.WebHome||target="blank"]] 85 -** [[Mendix Connectivity (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Novice.Mendix Connectivity.WebHome||target="blank"]] 86 -* [[eMagiz Mendix Connector (Search Result)>>url:https://docs.emagiz.com/bin/view/Main/Search?text=%22emagiz%20mendix%20connector%22&f_type=DOCUMENT&f_space_facet=0%2FMain.&f_locale=en&f_locale=&f_locale=en&r=1||target="blank"]] 87 -))) 61 +===== Practice ===== 88 88 89 -((( 90 -{{toc/}} 91 -))) 92 -{{/container}} 93 -{{/container}} 63 +== 4. Key takeaways == 64 + 65 +* The exit connector needs to be configured in eMagiz to make the connection work 66 +* The after startup microflow has been renamed 67 +* The configuration will be downloaded automatically 68 +* The flow overview (XML configuration overview) has returned 69 +* Migration from 4.2.0 to 5.0.0 requires changes on both sides 70 + 71 +</div> 72 +</div> 73 +</div> 74 + 75 +{{/html}}