Citrus Apr 2026

Create a new AsyncContainer in the Java DSL to wrap the receive() actions.

Feature: Asynchronous Order Processing Scenario: Customer places an order and receives confirmation Given I have a Kafka endpoint "orderInput" When I send a "CreateOrder" message Then I expect a "OrderValidated" message on "kafka.output" within 5 seconds And I expect a "EmailSent" message on "smtp.mock" within 10 seconds Use code with caution. Citrus

To make this feature more useful for you, could you tell me: Create a new AsyncContainer in the Java DSL

Leverage existing com.consol.citrus.kafka and com.consol.citrus.jms libraries. Update the citrus-cucumber module to recognize these new

Update the citrus-cucumber module to recognize these new step definitions.

Advanced "wait" actions that allow the test to pause specifically for a message, reducing brittle Thread.sleep() commands. 3. Example Gherkin Syntax (Cucumber):

in your current tests (e.g., flakiness, hard to match responses, long test times)? Features - Citrus Framework