Deprecated API


Contents
Deprecated Classes
org.apache.camel.model.AOPDefinition
          will be removed in the future 
org.apache.camel.processor.BatchProcessor
          may be removed in the future 
org.apache.camel.component.cxf.transport.CamelConduit.DecoupledDestination
           
 

Deprecated Fields
org.apache.camel.converter.jaxp.XmlConverter.DEFAULT_CHARSET_PROPERTY
           
org.apache.camel.component.mina.MinaEndpoint.HEADER_LOCAL_ADDRESS
           
org.apache.camel.component.mina.MinaEndpoint.HEADER_MINA_IOSESSION
           
org.apache.camel.component.mina.MinaEndpoint.HEADER_REMOTE_ADDRESS
           
 

Deprecated Methods
org.apache.camel.builder.RouteBuilder.addRoutes(RoutesBuilder)
          use includeRoutes instead. 
org.apache.camel.model.ProcessorDefinition.aop()
          (to be removed in the future) 
org.apache.camel.util.AsyncProcessorHelper.asyncProcess(ExecutorService, Processor, Exchange)
          will be removed in Camel 2.5 
org.apache.camel.util.ObjectHelper.close(Closeable, String, Log)
          use IOHelper.close(java.io.Closeable, String, org.apache.commons.logging.Log) 
org.apache.camel.converter.jaxp.StaxConverter.createXMLEventReader(InputStream)
           
org.apache.camel.converter.jaxp.StaxConverter.createXMLStreamReader(InputStream)
           
org.apache.camel.component.cxf.transport.CamelConduit.getCamelTemplate()
           
org.apache.camel.component.cxf.util.CxfMessageHelper.getCxfOutMessage(HeaderFilterStrategy, Exchange, boolean)
           
org.apache.camel.builder.DefaultErrorHandlerBuilder.getHandledPolicy()
           
org.apache.camel.processor.RedeliveryPolicy.getRedeliverDelay()
           
org.apache.camel.builder.DefaultErrorHandlerBuilder.handled(boolean)
           
org.apache.camel.builder.DefaultErrorHandlerBuilder.handled(Expression)
           
org.apache.camel.builder.DefaultErrorHandlerBuilder.handled(Predicate)
           
org.apache.camel.impl.RouteService.isRemovingRoutes()
           
org.apache.camel.component.jms.JmsConfiguration.isSubscriptionDurable()
           
org.apache.camel.component.jms.JmsConfiguration.isTransactedInOut()
           
org.apache.camel.spi.ExecutorServiceStrategy.newCachedThreadPool(Object, String)
          using cached thread pool is discouraged as they have no upper bound and can overload the JVM 
org.apache.camel.util.concurrent.ExecutorServiceHelper.newCachedThreadPool(String, String, boolean)
          using cached thread pool is discouraged as they have no upper bound and can overload the JVM 
org.apache.camel.processor.DelegateProcessor.proceed(Exchange)
          will be removed in Camel 2.5 
org.apache.camel.builder.DefaultErrorHandlerBuilder.redeliverDelay(long)
           
org.apache.camel.model.OnExceptionDefinition.redeliverDelay(long)
            
org.apache.camel.processor.RedeliveryPolicy.redeliverDelay(long)
          use redeliveryDelay instead 
org.apache.camel.component.cxf.transport.CamelConduit.setCamelTemplate(ProducerTemplate)
           
org.apache.camel.builder.DefaultErrorHandlerBuilder.setHandled(boolean)
           
org.apache.camel.builder.DefaultErrorHandlerBuilder.setHandledPolicy(Predicate)
           
org.apache.camel.processor.RedeliveryPolicy.setRedeliverDelay(long)
           
org.apache.camel.impl.RouteService.setRemovingRoutes(boolean)
           
org.apache.camel.impl.DefaultCamelContext.setRoutes(List)
           
org.apache.camel.component.jms.JmsComponent.setSubscriptionDurable(boolean)
           
org.apache.camel.component.jms.JmsConfiguration.setSubscriptionDurable(boolean)
           
org.apache.camel.component.jms.JmsConfiguration.setTransactedInOut(boolean)
           
org.apache.camel.management.mbean.ManagedRoute.shutdown()
           
org.apache.camel.management.mbean.ManagedRoute.shutdown(long)
           
org.apache.camel.CamelContext.shutdownRoute(String)
          use CamelContext.stopRoute(String) and CamelContext.removeRoute(String) 
org.apache.camel.CamelContext.shutdownRoute(String, long, TimeUnit)
          use CamelContext.stopRoute(String, long, java.util.concurrent.TimeUnit) and CamelContext.removeRoute(String) 
org.apache.camel.converter.IOConverter.toByteArray(BufferedReader)
           
org.apache.camel.converter.IOConverter.toByteArray(Reader)
           
org.apache.camel.converter.IOConverter.toByteArray(String)
           
org.apache.camel.converter.IOConverter.toInputStream(BufferedReader)
           
org.apache.camel.converter.jaxp.XmlConverter.toInputStream(Document)
           
org.apache.camel.converter.jaxp.XmlConverter.toInputStream(DOMSource)
           
org.apache.camel.converter.IOConverter.toInputStream(String)
           
org.apache.camel.converter.IOConverter.toReader(File)
           
org.apache.camel.converter.IOConverter.toReader(InputStream)
           
org.apache.camel.converter.jaxp.XmlConverter.toReaderFromSource(Source)
           
org.apache.camel.converter.jaxp.XmlConverter.toSAXSource(InputStream)
           
org.apache.camel.converter.jaxp.XmlConverter.toSAXSource(Source)
           
org.apache.camel.converter.jaxp.XmlConverter.toSAXSource(String)
           
org.apache.camel.converter.jaxp.XmlConverter.toSAXSourceFromDOM(DOMSource)
           
org.apache.camel.converter.jaxp.XmlConverter.toSource(Document)
          use toDOMSource instead 
org.apache.camel.converter.jaxp.XmlConverter.toStreamSource(Source)
           
org.apache.camel.converter.jaxp.XmlConverter.toStreamSourceFromDOM(DOMSource)
           
org.apache.camel.converter.jaxp.XmlConverter.toStreamSourceFromSAX(SAXSource)
           
org.apache.camel.converter.IOConverter.toString(byte[])
           
org.apache.camel.converter.IOConverter.toString(ByteArrayOutputStream)
           
org.apache.camel.converter.IOConverter.toString(File)
           
org.apache.camel.converter.IOConverter.toString(InputStream)
           
org.apache.camel.converter.jaxp.XmlConverter.toString(Node)
           
org.apache.camel.converter.jaxp.XmlConverter.toString(Source)
           
org.apache.camel.converter.IOConverter.toString(URL)
           
org.apache.camel.converter.IOConverter.toWriter(File)
           
org.apache.camel.converter.IOConverter.toWriter(OutputStream)
           
org.apache.camel.converter.IOConverter.toWriter(OutputStream, Exchange)
           
org.apache.camel.model.OnExceptionDefinition.useOriginalBody()
          this method will be removed in Camel 3.0, please use OnExceptionDefinition.useOriginalMessage() 
 



Apache CAMEL