assimbly / runtime

Java & REST API's for creating and running integrations
Apache License 2.0
17 stars 3 forks source link

Flowlinks doesn't contain a TTL (TimeToLive) on queues #251

Closed skin27 closed 2 months ago

skin27 commented 3 months ago

When queue is selected in a flowlink then the generated queue doesn't have the TTL (time to live) option. Other queues already have this.

Current:

 <to uri="activemq:ID_66729a2bbb98d0000e0000b1_test_3e51d00a-04bd-465b-b746-5d79486dd6f2_flowlink?exchangePattern=InOnly"/>

This should be changed to:

<to uri="activemq:ID_66729a2bbb98d0000e0000b1_test_3e51d00a-04bd-465b-b746-5d79486dd6f2_flowlink?timeToLive=86400000&amp;exchangePattern=InOnly"/>

Testflow:

Server: next Environment: test Tenant: Norman Flow: OutboundFL Version: 5 Link: https://next.dovetail.world/flowdesigner/66729a43bb98d0001100007b/5/route

This can be changed in the Ruby generation of the CamelContext

Note: This can be added to the queue of the throttle as well.