You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/07/27 13:21:00 UTC
[jira] [Assigned] (CAMEL-24274) camel-tui - Send Message should use camel-http to send to platform-http routes
[ https://issues.apache.org/jira/browse/CAMEL-24274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-24274:
-----------------------------------
Assignee: Claus Ibsen
> camel-tui - Send Message should use camel-http to send to platform-http routes
> ------------------------------------------------------------------------------
>
> Key: CAMEL-24274
> URL: https://issues.apache.org/jira/browse/CAMEL-24274
> Project: Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
>
> When the Send Message dialog (F2 > Send Message) selects a route that uses platform-http as its consumer, clicking Send fails with:
> {code}
> FailedToCreateProducerException: Failed to create Producer for endpoint: platform-http:///api/orders?httpMethodRestrict=POST.
> Reason: java.lang.UnsupportedOperationException: Producer is not supported
> {code}
> This is because platform-http is a consumer-only component and does not support producing.
> The TUI should detect when a route uses platform-http and automatically use camel-http (or camel-vertx-http) as the component to send the test message to the HTTP endpoint instead. This way, users can seamlessly test their REST API routes from the Send Message dialog without worrying about which HTTP component to use.
> Alternatively, the route selector in the Send Message dialog could filter out or visually mark routes that cannot receive messages via their consumer endpoint (e.g., platform-http, servlet).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)