How to set camel-jetty's "handlers" option in Rest DSL

Solution Verified - Updated -

Issue

How to set this bean to the camel-jetty's "handlers" option in Rest DSL?

    <bean class="org.eclipse.jetty.server.handler.RequestLogHandler" id="jettyRequestLog">
        <property name="requestLog">
            <bean class="org.eclipse.jetty.server.NCSARequestLog">
                <property name="extended" value="true"/>
                <property name="append" value="true"/>
                <property name="filename" value="/home/demo/test-yyyy_mm_dd.audit.log"/>
                <property name="filenameDateFormat" value="yyyy_MM_dd"/>
                <property name="retainDays" value="90"/>
            </bean>

Environment

  • Red Hat Fuse
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content