CatgirlIntelligenceAgency/code/common/message-queue/msgstate.svg
2023-07-04 14:28:14 +02:00

4 lines
18 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" style="background-color: rgb(24, 20, 29);" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="753px" height="301px" viewBox="-0.5 -0.5 753 301" content="&lt;mxfile host=&quot;app.diagrams.net&quot; modified=&quot;2023-07-04T12:09:13.087Z&quot; agent=&quot;Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0&quot; etag=&quot;dXoCL60KVBaQMvgLdr67&quot; version=&quot;21.5.2&quot; type=&quot;device&quot;&gt;&lt;diagram id=&quot;C5RBs43oDa-KdzZeNtuy&quot; name=&quot;Page-1&quot;&gt;7VpRV6M4FP41PfukB0ih7aO1zqw7OrN77Kzj054UAmSbEjaJtp1fPwkkUAitOmOtq/ZByU1ySfJ99+Ne2h44Xaw+MpinlzRCpOc50aoHJj3Pcx0nkP+UZV1aQH9YGhKGIz2oNlzh78jM1NZbHCHeGCgoJQLnTWNIswyFomGDjNFlc1hMSfOuOUyQZbgKIbGt1zgSaWkdeoPa/jvCSWru7AajsmcBzWC9E57CiC43TOCsB04ZpaK8WqxOEVGHZ87l+nx9TS7mwcc//uL/wa/jT9PPfx+Vzj48Zkq1BYYy8dOu8yVZjEfrG+B8TWb/sMv5kC2PNJZcrM15oUgen25SJlKa0AySs9o6ZvQ2i5Dy6shWPeaC0lwaXWn8Fwmx1lyAt4JKUyoWRPeiFRbfNq5vlKtjX7cmK+25aKxNIxNs/a0eqJo3m331tKJl5pX7U5tq0eGes9TjOL1lIdpxgJobArIEiR3jBhVhZKQhukBykXIeQwQKfNdcHNSUT6pxNazyQiP7CJRdv3R8B8mtvtV5rFad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Qw8evWtHgNotSom1NUbikmxdM4ldxD2fMpwaDJs2HHU3XUwbPR43kmm/XvpMpatP61GTj7AQ==&lt;/diagram&gt;&lt;/mxfile&gt;"><defs/><g><path d="M 223 50 L 383 50 L 383 253.63" fill="none" stroke="rgb(240, 240, 240)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 383 258.88 L 379.5 251.88 L 383 253.63 L 386.5 251.88 Z" fill="rgb(240, 240, 240)" stroke="rgb(240, 240, 240)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 91px; margin-left: 408px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(240, 240, 240); background-color: rgb(24, 20, 29); "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(240, 240, 240); line-height: 1.2; pointer-events: all; background-color: rgb(24, 20, 29); white-space: nowrap;">If the message is not<br />acknowledged, it may<br /><div>be declared dead after</div><div>TTL<br /></div></div></div></div></foreignObject><text x="408" y="94" fill="rgb(240, 240, 240)" font-family="Helvetica" font-size="11px" text-anchor="middle">If the message is not...</text></switch></g><path d="M 163 70 L 163 113.63" fill="none" stroke="rgb(240, 240, 240)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 163 118.88 L 159.5 111.88 L 163 113.63 L 166.5 111.88 Z" fill="rgb(240, 240, 240)" stroke="rgb(240, 240, 240)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 91px; margin-left: 167px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(240, 240, 240); background-color: rgb(24, 20, 29); "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(240, 240, 240); line-height: 1.2; pointer-events: all; background-color: rgb(24, 20, 29); white-space: nowrap;">Inbox acknowledges the message</div></div></div></foreignObject><text x="167" y="94" fill="rgb(240, 240, 240)" font-family="Helvetica" font-size="11px" text-anchor="middle">Inbox acknowledges the message</text></switch></g><rect x="103" y="30" width="120" height="40" rx="6" ry="6" fill="#6d8764" stroke="#3a5431" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 50px; margin-left: 104px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">New</div></div></div></foreignObject><text x="163" y="54" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle">New</text></switch></g><path d="M 193 160 L 193 210 L 253 210 L 253 253.63" fill="none" stroke="rgb(240, 240, 240)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 253 258.88 L 249.5 251.88 L 253 253.63 L 256.5 251.88 Z" fill="rgb(240, 240, 240)" stroke="rgb(240, 240, 240)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 211px; margin-left: 194px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(240, 240, 240); background-color: rgb(24, 20, 29); "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(240, 240, 240); line-height: 1.2; pointer-events: all; background-color: rgb(24, 20, 29); white-space: nowrap;">Message processing<br />failed</div></div></div></foreignObject><text x="194" y="214" fill="rgb(240, 240, 240)" font-family="Helvetica" font-size="11px" text-anchor="middle">Message processing...</text></switch></g><path d="M 223 140 L 383 140 L 383 253.63" fill="none" stroke="rgb(240, 240, 240)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 383 258.88 L 379.5 251.88 L 383 253.63 L 386.5 251.88 Z" fill="rgb(240, 240, 240)" stroke="rgb(240, 240, 240)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 171px; margin-left: 304px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(240, 240, 240); background-color: rgb(24, 20, 29); "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(240, 240, 240); line-height: 1.2; pointer-events: all; background-color: rgb(24, 20, 29); white-space: nowrap;">If the message doesn't<br />finish within TTL it will<br />be marked as dead</div></div></div></foreignObject><text x="304" y="174" fill="rgb(240, 240, 240)" font-family="Helvetica" font-size="11px" text-anchor="middle">If the message doesn't...</text></switch></g><path d="M 103 140 L 73 140 L 73 253.63" fill="none" stroke="rgb(240, 240, 240)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 73 258.88 L 69.5 251.88 L 73 253.63 L 76.5 251.88 Z" fill="rgb(240, 240, 240)" stroke="rgb(240, 240, 240)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 203px; margin-left: 54px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(240, 240, 240); background-color: rgb(24, 20, 29); "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(240, 240, 240); line-height: 1.2; pointer-events: all; background-color: rgb(24, 20, 29); white-space: nowrap;">Message processed<br />OK, sender may<br />receive a reply in their<br />inbox</div></div></div></foreignObject><text x="54" y="206" fill="rgb(240, 240, 240)" font-family="Helvetica" font-size="11px" text-anchor="middle">Message processed...</text></switch></g><rect x="103" y="120" width="120" height="40" rx="6" ry="6" fill="#f0a30a" stroke="#bd7000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 140px; margin-left: 104px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Ack</div></div></div></foreignObject><text x="163" y="144" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Ack</text></switch></g><rect x="13" y="260" width="120" height="40" rx="6" ry="6" fill="#a20025" stroke="#6f0000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 280px; margin-left: 14px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Ok</div></div></div></foreignObject><text x="73" y="284" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle">Ok</text></switch></g><rect x="193" y="260" width="120" height="40" rx="6" ry="6" fill="#a20025" stroke="#6f0000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 280px; margin-left: 194px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Err</div></div></div></foreignObject><text x="253" y="284" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle">Err</text></switch></g><rect x="323" y="260" width="120" height="40" rx="6" ry="6" fill="#a20025" stroke="#6f0000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 280px; margin-left: 324px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Dead</div></div></div></foreignObject><text x="383" y="284" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle">Dead</text></switch></g><rect x="483" y="270" width="60" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 285px; margin-left: 484px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(240, 240, 240); "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(240, 240, 240); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Terminal States</div></div></div></foreignObject><text x="513" y="289" fill="rgb(240, 240, 240)" font-family="Helvetica" font-size="12px" text-anchor="middle">Terminal S...</text></switch></g><rect x="493" y="130" width="60" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 145px; margin-left: 494px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(240, 240, 240); "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(240, 240, 240); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Intermediate States</div></div></div></foreignObject><text x="523" y="149" fill="rgb(240, 240, 240)" font-family="Helvetica" font-size="12px" text-anchor="middle">Intermedia...</text></switch></g><rect x="483" y="35" width="60" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 50px; margin-left: 484px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(240, 240, 240); "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(240, 240, 240); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Initial State</div></div></div></foreignObject><text x="513" y="54" fill="rgb(240, 240, 240)" font-family="Helvetica" font-size="12px" text-anchor="middle">Initial St...</text></switch></g><rect x="563" y="10" width="190" height="90" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 182px; height: 1px; padding-top: 0px; margin-left: 568px;"><div style="box-sizing: border-box; font-size: 0px; text-align: left; max-height: 100px; overflow: hidden;" data-drawio-colors="color: rgb(240, 240, 240); "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(240, 240, 240); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><h1>Message States<br /></h1><p>Messages pass through several states through their lifecycle<br /></p></div></div></div></foreignObject><text x="568" y="12" fill="rgb(240, 240, 240)" font-family="Helvetica" font-size="12px">Message States...</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>