Changes for page Asynchronous Routing
Last modified by Danniar Firdausy on 2024/09/04 09:01
From version 20.1
edited by Erik Bakker
on 2022/08/15 08:05
on 2022/08/15 08:05
Change comment:
There is no comment for this version
To version 22.1
edited by Erik Bakker
on 2022/08/15 08:07
on 2022/08/15 08:07
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -60,16 +60,10 @@ 60 60 61 61 === 3.2 Control output === 62 62 63 -As the asynchronous plays a role in routing messages between all asynchronous flows in a 64 -the messaging solution you can imagine that making changes does not need to happen lightly. 65 -The other aspect is that when multiple projects are being built at the same time the asynchronous routing 66 -will house a multitude of changes that need to go to Acceptance or Production at the same time. 63 +As the asynchronous plays a role in routing messages between all asynchronous flows in the messaging solution you can imagine that making changes does not need to happen lightly. The other aspect is that when multiple projects are being built at the same time the asynchronous routing will house a multitude of changes that need to go to Acceptance or Production at the same time. 67 67 68 -One control mechanism we consider a best practice to guard yourself against those risks is to add a filter 69 -before data is placed on the offramp queue. 70 -By doing this consistently you can control when a specific offramp can receive data on any environment. 71 -In other words, when a certain system is not ready yet to receive data on Acceptance or Production but is ready on Test 72 -you can control this behavior with this solution. 65 +One control mechanism we consider a best practice to guard yourself against those risks is to add a filter before data is placed on the offramp queue. 66 +By doing this consistently you can control when a specific offramp can receive data on any environment. In other words, when a certain system is not ready yet to receive data on Acceptance or Production but is ready on Test you can control this behavior with this solution. 73 73 74 74 Below you see how this will look on flow level. 75 75 ... ... @@ -88,19 +88,17 @@ 88 88 89 89 Steps to follow when adding an integration to the routing Part I: 90 90 91 - 1.Add a header in the onramp named {technicalnameofproject}\_targetSystem (if this is not done yet)92 - 2.Fill this header with a value that should be defined as a property (naming convention = systemname.messagetype.targetsystems)93 - 3.This property should be created in Test, Accp, and Prod and filled with all target systems for a certain message type (notation = systemname1,systemname2,systemname3)94 - 4.In the routing a standard router should be used as the first building block after receiving the input.85 +* Add a header in the onramp named {technicalnameofproject}\_targetSystem (if this is not done yet) 86 +* Fill this header with a value that should be defined as a property (naming convention = systemname.messagetype.targetsystems) 87 +* This property should be created in Test, Accp, and Prod and filled with all target systems for a certain message type (notation = systemname1,systemname2,systemname3) 88 +* In the routing a standard router should be used as the first building block after receiving the input. 95 95 96 96 Part II 97 97 98 -5. In this standard router a SpelExpression has to be defined **once** that concatenates the following headers: {technicalnameofproject}\_targetSystem and {technicalnameofproject}\_messageType. 99 -6. For every unique combination there is a value that should be specified alongside the channel on which to put the message (this should be a channel that ultimately leads to the correct offramp queue) 100 -7. For every channel that leads to a JMS outbound channel adapter a filter needs to be added to make sure that each output option can be turned on or off easily. 101 - This to prevent that messages are sent to a system that does not expect them then 102 - 8 This filter should look like this: '${routing.monitor.detorem.enabled}' == 'true'. 103 - The naming convention of said property is routing.targetsystem.messagetype.enabled. 92 +* In this standard router a SpelExpression has to be defined **once** that concatenates the following headers: {technicalnameofproject}\_targetSystem and {technicalnameofproject}\_messageType. 93 +* For every unique combination there is a value that should be specified alongside the channel on which to put the message (this should be a channel that ultimately leads to the correct offramp queue) 94 +* For every channel that leads to a JMS outbound channel adapter a filter needs to be added to make sure that each output option can be turned on or off easily. This to prevent that messages are sent to a system that does not expect them then 95 +* This filter should look like this: '${routing.monitor.detorem.enabled}' == 'true'. The naming convention of said property is routing.targetsystem.messagetype.enabled. 104 104 105 105 === 3.5 The result === 106 106