MikaelAnderssonWigander commented on issue #4927:
URL: https://github.com/apache/camel-quarkus/issues/4927#issuecomment-1831510630
I have a smilier issue but using Java DSL and Quarkus 3.5.3
```
@QuarkusTest
class CamelTest extends CamelQuarkusTestSupport {
@Override
public boolean isUseRouteBuilder() {
return false;
}
@Override
public boolean isUseAdviceWith() {
return true;
}
@Test
void myTest() throws Exception {
AdviceWith.adviceWith(context, "myRouteId", route -> {
route.interceptSendToEndpoint("seda:end_process")
.skipSendToOriginalEndpoint()
.to("mock:transform");
});
startRouteDefinitions();
getMockEndpoint("mock:transform").expectedBodyReceived();
template.sendBody("direct:myRoute", "Hello, world!");
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]