Hi Claus, good to hear from you.

I added the exception clause to the context, yet it is generating an error.

Exception clause:

                <onException>
                        
                        
                        
<exception>java.lang.ArrayIndexOutOfBoundsException</exception>
                        
                        <handled>
                                <constant>true</constant>
                        </handled>
                        
                        <transform>
                                <simple>JMS Channel processing tweet event from 
'unknown' at
                                        ${header.$Event$Start}
                                </simple>
                        </transform>
                        
                        <to uri="webappWebsocketNERVEndpointOut" />
                </onException>

Error:
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create
route STEP3_TweetReceivedFromJMS at: >>> Transform[simple{JMS Channel
processing tweet event from
                                        @${header.Status$User$ScreenName} at 
${header.$Event$Start}
                                }] <<< in route:
Route(STEP3_TweetReceivedFromJMS)[[From[nervJMS1:topic:Event... because of
No bean could be found in the registry for: errorHandler of type:
org.apache.camel.builder.ErrorHandlerBuilder





--
View this message in context: 
http://camel.465427.n5.nabble.com/Error-with-transform-tp5756657p5756706.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to