Deprecated API


Contents
Deprecated Interfaces
org.apache.camel.spi.ManagementAware
          use Spring JMX annotations, see this FAQ entry 
 

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
           
org.apache.camel.converter.jaxb.JaxbConverter
          will be removed in the near future 
 

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, Logger)
          use org.apache.camel.util.IOHelper#close(java.io.Closeable, String, org.apache.commons.logging.Log) 
org.apache.camel.util.IOHelper.createIOException(String, Throwable)
          IOException support nested exception in Java 1.6. 
org.apache.camel.util.IOHelper.createIOException(Throwable)
          IOException support nested exception in Java 1.6. 
org.apache.camel.converter.jaxp.XmlConverter.createTransfomer()
          use XmlConverter.createTransformer(), will be removed in Camel 3.0 
org.apache.camel.converter.jaxp.StaxConverter.createXMLEventReader(InputStream)
           
org.apache.camel.converter.jaxp.StaxConverter.createXMLStreamReader(InputStream)
           
org.apache.camel.model.WhenDefinition.expression()
            
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.model.TryDefinition.handled(boolean)
          will be removed in Camel 3.0 
org.apache.camel.model.CatchDefinition.handled(boolean)
          will be removed in Camel 3.0 
org.apache.camel.builder.DefaultErrorHandlerBuilder.handled(Expression)
           
org.apache.camel.model.TryDefinition.handled(Expression)
          will be removed in Camel 3.0 
org.apache.camel.model.CatchDefinition.handled(Expression)
          will be removed in Camel 3.0 
org.apache.camel.builder.DefaultErrorHandlerBuilder.handled(Predicate)
           
org.apache.camel.model.TryDefinition.handled(Predicate)
          will be removed in Camel 3.0 
org.apache.camel.model.CatchDefinition.handled(Predicate)
          will be removed in Camel 3.0 
org.apache.camel.impl.RouteService.isRemovingRoutes()
           
org.apache.camel.component.jms.JmsConfiguration.isSubscriptionDurable()
           
org.apache.camel.component.jms.JmsConfiguration.isTransactedInOut()
           
org.apache.camel.processor.exceptionpolicy.ExceptionPolicyKey.newInstance(Class)
           
org.apache.camel.processor.exceptionpolicy.ExceptionPolicyKey.newInstance(Class, WhenDefinition)
           
org.apache.camel.model.ToDefinition.pattern(ExchangePattern)
            
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.builder.ProcessorBuilder.removeFaultHeader(String)
          use ProcessorBuilder.removeHeader(String) 
org.apache.camel.model.ProcessorDefinition.removeFaultHeader(String)
          use ProcessorDefinition.removeHeader(String) 
org.apache.camel.util.ValueHolder.set(V)
          should be immutable, will be removed in Camel 3.0 
org.apache.camel.component.cxf.transport.CamelConduit.setCamelTemplate(ProducerTemplate)
           
org.apache.camel.spi.PackageScanClassResolver.setClassLoaders(Set)
          use PackageScanClassResolver.addClassLoader(ClassLoader) instead. 
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.JmsConfiguration.setSubscriptionDurable(boolean)
           
org.apache.camel.component.jms.JmsComponent.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() 
 

Deprecated Constructors
org.apache.camel.component.http.DefaultHttpBinding()
           
org.apache.camel.component.http4.DefaultHttpBinding()
           
org.apache.camel.component.http.DefaultHttpBinding(HeaderFilterStrategy)
           
org.apache.camel.component.http4.DefaultHttpBinding(HeaderFilterStrategy)
           
org.apache.camel.processor.exceptionpolicy.ExceptionPolicyKey(Class, WhenDefinition)
           
org.apache.camel.util.ValueHolder()
          should be immutable, will be removed in Camel 3.0 
 



Apache CAMEL