How to use a shared Netty4 HTTP Server in an OSGi environment?

Solution Unverified - Updated -

Issue

  • How to use a shared Netty4 HTTP Server in an OSGi environment?
  • The expected Netty Shared HTTP server behaviour doesn't work. I tried to start 2 routes in different camel context using the same port.
  • They both started but it is only one of the routes that accepts request, the second route returns page not found basically meaning Netty4 HTTP is not exposing the service.

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.