[
https://issues.apache.org/jira/browse/CAMEL-10671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15887790#comment-15887790
]
Alexandros Koufoudakis commented on CAMEL-10671:
------------------------------------------------
Hi!
As I said the Jetty component works fine. I can commit it.
The undertow is throwing the exception:
"ERROR request UT005071: Undertow request failed HttpServerExchange{ GET /hi
request
{Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8],
Connection=[keep-alive], Accept-Language=[en-US,en;q=0.5],
Accept-Encoding=[gzip, deflate], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac
OS X 10.11; rv:51.0) Gecko/20100101 Firefox/51.0],
Upgrade-Insecure-Requests=[1], Host=[localhost:9191]} response
{Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8],
Accept-Language=[en-US,en;q=0.5], Accept-Encoding=[gzip, deflate],
breadcrumbId=[ID-Alexandross-MacBook-Pro-local-52476-1488279346951-0-1],
User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:51.0)
Gecko/20100101 Firefox/51.0], Upgrade-Insecure-Requests=[1]}}
java.lang.NullPointerException
at io.undertow.io.AsyncSenderImpl.send(AsyncSenderImpl.java:136)
at io.undertow.io.AsyncSenderImpl.send(AsyncSenderImpl.java:272)
at
org.apache.camel.component.undertow.handlers.HttpCamelHandler.handleRequest(HttpCamelHandler.java:117)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:210)
at
io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:809)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)"
In general, I've got a lot of grief with undertow also in Fuse 6.3. I've
managed to run a route with an undertow endpoint only using Camel Main... So,
should I commit the working Jetty or continue looking at the undertow?
> camel-example-celyon
> --------------------
>
> Key: CAMEL-10671
> URL: https://issues.apache.org/jira/browse/CAMEL-10671
> Project: Camel
> Issue Type: New Feature
> Components: examples
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: Future
>
>
> We should have a little example of using camel with celyon. Its just to have
> a maven project with celyon dependencies and compiler setup and some basic
> celyon code that can run standalone with a camel route.
> Take a look at the groovy or kotlin example which would be similar.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)