Deprecated Methods |
org.apache.camel.CamelContext.addRouteDefinition(RouteDefinition)
use ModelCamelContext.addRouteDefinition(org.apache.camel.model.RouteDefinition) |
org.apache.camel.CamelContext.addRouteDefinitions(Collection)
use ModelCamelContext.addRouteDefinitions(java.util.Collection) |
org.apache.camel.builder.RouteBuilder.addRoutes(RoutesBuilder)
will be removed in Camel 3.0. Instead use includeRoutes instead. |
org.apache.camel.model.RouteDefinition.adviceWith(CamelContext, RouteBuilder)
|
org.apache.camel.model.ProcessorDefinition.aop()
to be removed in the near future. Instead you can use interceptors or processors to do AOP with Camel. |
org.apache.camel.builder.BuilderSupport.bean(Class>)
use BuilderSupport.method(Class) instead |
org.apache.camel.builder.BuilderSupport.bean(Class>, String)
use BuilderSupport.method(Class, String) instead |
org.apache.camel.model.BeanDefinition.bean(Object)
not in use, will be removed in next Camel release |
org.apache.camel.builder.BuilderSupport.bean(Object)
use BuilderSupport.method(Object) instead |
org.apache.camel.builder.BuilderSupport.bean(Object, String)
use BuilderSupport.method(Object, String) instead |
org.apache.camel.model.BeanDefinition.beanType(Class>)
not in use, will be removed in next Camel release |
org.apache.camel.api.management.mbean.ManagedBrowsableEndpointMBean.browseMessageAsXml(Integer)
use ManagedBrowsableEndpointMBean.browseAllMessagesAsXml(Boolean) instead |
org.apache.camel.util.ObjectHelper.close(Closeable, String, Logger)
will be removed in Camel 3.0. Instead use IOHelper.close(java.io.Closeable, String, org.slf4j.Logger) instead |
org.apache.camel.impl.converter.AsyncProcessorTypeConverter.convert(Processor)
use AnycProcessorConverter.convert instead |
org.apache.camel.util.ExchangeHelper.createExceptionMessage(String, Exchange, Throwable)
use org.apache.camel.CamelExchangeException.createExceptionMessage instead |
org.apache.camel.Endpoint.createExchange(Exchange)
will be removed in Camel 3.0 |
org.apache.camel.Producer.createExchange(Exchange)
will be removed in Camel 3.0 |
org.apache.camel.Message.createExchangeId()
will be removed in Camel 3.0. It is discouraged for messages to create exchange ids |
org.apache.camel.util.IOHelper.createIOException(String, Throwable)
IOException support nested exception in Java 1.6. Will be removed in Camel 3.0 |
org.apache.camel.util.IOHelper.createIOException(Throwable)
IOException support nested exception in Java 1.6. Will be removed in Camel 3.0 |
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)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.StaxConverter.createXMLStreamReader(InputStream)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.getCharsetName(Exchange)
|
org.apache.camel.converter.IOConverter.getCharsetName(Exchange, boolean)
|
org.apache.camel.CamelContext.getDataFormats()
use ModelCamelContext.getDataFormats() |
org.apache.camel.CamelContext.getErrorHandlerBuilder()
The return type will be switched to ErrorHandlerFactory in Camel 3.0 |
org.apache.camel.CamelContext.getExecutorServiceStrategy()
use CamelContext.getExecutorServiceManager() |
org.apache.camel.impl.DefaultCamelContext.getExecutorServiceStrategy()
|
org.apache.camel.util.ExchangeHelper.getMandatoryInBody(Exchange)
use Message.getMandatoryBody() |
org.apache.camel.util.ExchangeHelper.getMandatoryInBody(Exchange, Class)
use Message.getMandatoryBody(Class) |
org.apache.camel.util.ExchangeHelper.getMandatoryOutBody(Exchange)
use Message.getMandatoryBody() |
org.apache.camel.util.ExchangeHelper.getMandatoryOutBody(Exchange, Class)
use Message.getMandatoryBody(Class) |
org.apache.camel.processor.RedeliveryPolicy.getRedeliverDelay()
will be removed in the near future. Instead use RedeliveryPolicy.getRedeliveryDelay() |
org.apache.camel.CamelContext.getRouteDefinition(String)
use ModelCamelContext.getRouteDefinition(String) |
org.apache.camel.CamelContext.getRouteDefinitions()
use ModelCamelContext.getRouteDefinitions() |
org.apache.camel.processor.interceptor.Tracer.getTraceHandler()
|
org.apache.camel.model.CatchDefinition.handled(boolean)
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a Processor or use the ProcessorDefinition.throwException(Exception) |
org.apache.camel.model.TryDefinition.handled(boolean)
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a Processor or use the ProcessorDefinition.throwException(Exception) |
org.apache.camel.model.CatchDefinition.handled(Expression)
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a Processor or use the ProcessorDefinition.throwException(Exception) |
org.apache.camel.model.TryDefinition.handled(Expression)
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a Processor or use the ProcessorDefinition.throwException(Exception) |
org.apache.camel.model.CatchDefinition.handled(Predicate)
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a Processor or use the ProcessorDefinition.throwException(Exception) |
org.apache.camel.model.TryDefinition.handled(Predicate)
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a Processor or use the ProcessorDefinition.throwException(Exception) |
org.apache.camel.model.ProcessorDefinition.idempotentConsumer(IdempotentRepository>)
will be removed in Camel 3.0. Instead use any of the other methods |
org.apache.camel.model.ProcessorDefinition.inOnly()
use ProcessorDefinition.setExchangePattern(org.apache.camel.ExchangePattern) instead |
org.apache.camel.model.ProcessorDefinition.inOut()
use ProcessorDefinition.setExchangePattern(org.apache.camel.ExchangePattern) instead |
org.apache.camel.CamelContext.isLazyLoadTypeConverters()
this option is no longer supported, will be removed in a future Camel release. |
org.apache.camel.impl.DefaultCamelContext.isLazyLoadTypeConverters()
|
org.apache.camel.CamelContext.loadRoutesDefinition(InputStream)
use ModelCamelContext.loadRoutesDefinition(java.io.InputStream) |
org.apache.camel.util.EndpointHelper.matchEndpoint(String, String)
use EndpointHelper.matchEndpoint(org.apache.camel.CamelContext, String, String) instead. |
org.apache.camel.model.BeanDefinition.method(String)
not in use, will be removed in next Camel release |
org.apache.camel.model.WireTapDefinition.newExchange(Expression)
will be removed in Camel 3.0 Instead use WireTapDefinition.newExchangeBody(org.apache.camel.Expression) |
org.apache.camel.processor.exceptionpolicy.ExceptionPolicyKey.newInstance(Class extends Throwable>)
will be removed in the near future. Use the constructor instead. |
org.apache.camel.processor.exceptionpolicy.ExceptionPolicyKey.newInstance(Class extends Throwable>, WhenDefinition)
will be removed in the near future. Use the constructor instead. |
org.apache.camel.converter.IOConverter.normalizeCharset(String)
|
org.apache.camel.model.ToDefinition.pattern(ExchangePattern)
will be removed in the near future. Instead use ProcessorDefinition.inOnly()
or ProcessorDefinition.inOut() |
org.apache.camel.impl.DefaultComponent.preProcessUri(String)
|
org.apache.camel.processor.RedeliveryPolicy.redeliverDelay(long)
will be removed in the near future. Instead use RedeliveryPolicy.redeliveryDelay(long) instead |
org.apache.camel.model.OnExceptionDefinition.redeliverDelay(long)
will be removed in the near future. Instead use OnExceptionDefinition.redeliveryDelay(String) |
org.apache.camel.builder.DefaultErrorHandlerBuilder.redeliverDelay(long)
will be removed in the near future. Use DefaultErrorHandlerBuilder.redeliveryDelay(long) instead |
org.apache.camel.model.BeanDefinition.ref(String)
not in use, will be removed in next Camel release |
org.apache.camel.model.ProcessorDefinition.removeFaultHeader(String)
will be removed in the near future. Instead use ProcessorDefinition.removeHeader(String) |
org.apache.camel.builder.ProcessorBuilder.removeFaultHeader(String)
will be removed in the near future. Instead use ProcessorBuilder.removeHeader(String) |
org.apache.camel.CamelContext.removeRouteDefinition(RouteDefinition)
use ModelCamelContext.removeRouteDefinition(org.apache.camel.model.RouteDefinition) |
org.apache.camel.CamelContext.removeRouteDefinitions(Collection)
use ModelCamelContext.removeRouteDefinitions(java.util.Collection) |
org.apache.camel.CamelContext.resolveDataFormatDefinition(String)
use ModelCamelContext.resolveDataFormatDefinition(String) |
org.apache.camel.model.ProcessorDefinition.routingSlip(String)
prefer to use ProcessorDefinition.routingSlip(org.apache.camel.Expression) instead |
org.apache.camel.model.ProcessorDefinition.routingSlip(String, boolean)
prefer to use ProcessorDefinition.routingSlip() instead |
org.apache.camel.model.ProcessorDefinition.routingSlip(String, String)
prefer to use ProcessorDefinition.routingSlip(org.apache.camel.Expression, String) instead |
org.apache.camel.model.ProcessorDefinition.routingSlip(String, String, boolean)
prefer to use ProcessorDefinition.routingSlip() instead |
org.apache.camel.builder.DataFormatClause.secureXML(String, boolean, String, String, String)
|
org.apache.camel.util.ValueHolder.set(V)
should be immutable, will be removed in Camel 3.0 |
org.apache.camel.spi.PackageScanClassResolver.setClassLoaders(Set)
will be removed in Camel 3.0. Use PackageScanClassResolver.addClassLoader(ClassLoader) instead. |
org.apache.camel.builder.BuilderSupport.setContext(CamelContext)
|
org.apache.camel.CamelContext.setDataFormats(Map)
use ModelCamelContext.setDataFormats(java.util.Map) |
org.apache.camel.model.ProcessorDefinition.setFaultHeader(String, Expression)
use ProcessorDefinition.setHeader(String, org.apache.camel.Expression) |
org.apache.camel.CamelContext.setLazyLoadTypeConverters(Boolean)
this option is no longer supported, will be removed in a future Camel release. |
org.apache.camel.impl.DefaultCamelContext.setLazyLoadTypeConverters(Boolean)
|
org.apache.camel.model.ProcessorDefinition.setOutHeader(String)
use ProcessorDefinition.setHeader(String) |
org.apache.camel.model.ProcessorDefinition.setOutHeader(String, Expression)
use ProcessorDefinition.setHeader(String, org.apache.camel.Expression) |
org.apache.camel.processor.RedeliveryPolicy.setRedeliverDelay(long)
will be removed in the near future. Instead use RedeliveryPolicy.setRedeliveryDelay(long) |
org.apache.camel.impl.DefaultCamelContext.setRoutes(List)
|
org.apache.camel.processor.interceptor.Tracer.setTraceHandler(TraceEventHandler)
|
org.apache.camel.processor.interceptor.TraceInterceptor.setTraceHandler(TraceEventHandler)
|
org.apache.camel.api.management.mbean.ManagedRouteMBean.shutdown()
will be removed in the near future. Use stop and remove instead |
org.apache.camel.api.management.mbean.ManagedRouteMBean.shutdown(long)
will be removed in the near future. Use stop and remove instead |
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.impl.DefaultInflightRepository.size(Endpoint)
|
org.apache.camel.spi.InflightRepository.size(Endpoint)
will be removed in a future Camel release. |
org.apache.camel.CamelContext.startRoute(RouteDefinition)
use ModelCamelContext.startRoute(org.apache.camel.model.RouteDefinition) |
org.apache.camel.model.ModelCamelContext.startRoute(RouteDefinition)
favor using CamelContext.startRoute(String) |
org.apache.camel.CamelContext.stopRoute(RouteDefinition)
use ModelCamelContext.stopRoute(org.apache.camel.model.RouteDefinition) |
org.apache.camel.model.ModelCamelContext.stopRoute(RouteDefinition)
favor using CamelContext.stopRoute(String) |
org.apache.camel.converter.IOConverter.toByteArray(BufferedReader)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toByteArray(Reader)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toByteArray(String)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toInputStream(BufferedReader)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toInputStream(Document)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toInputStream(DOMSource)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toInputStream(String)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toReader(File)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toReader(InputStream)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toReaderFromSource(Source)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toSAXSource(InputStream)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toSAXSource(Source)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toSAXSource(String)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toSAXSourceFromDOM(DOMSource)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toSource(Document)
use toDOMSource instead |
org.apache.camel.converter.jaxp.XmlConverter.toSource(Node)
use toDOMSource instead |
org.apache.camel.converter.jaxp.XmlConverter.toStreamSource(Source)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toStreamSourceFromDOM(DOMSource)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toStreamSourceFromSAX(SAXSource)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toString(byte[])
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toString(ByteArrayOutputStream)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toString(File)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toString(InputStream)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toString(Node)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.jaxp.XmlConverter.toString(Source)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toString(URL)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toWriter(File)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.converter.IOConverter.toWriter(OutputStream)
will be removed in Camel 3.0. Use the method which has 2 parameters. |
org.apache.camel.model.OnExceptionDefinition.useOriginalBody()
this method will be removed in Camel 3.0, please use OnExceptionDefinition.useOriginalMessage() |
org.apache.camel.converter.IOConverter.validateCharset(String)
|
org.apache.camel.model.ProcessorDefinition.wireTap(String, boolean, Expression)
use the fluent builder from WireTapDefinition , will be removed in Camel 3.0 |
org.apache.camel.model.ProcessorDefinition.wireTap(String, boolean, Processor)
use the fluent builder from WireTapDefinition , will be removed in Camel 3.0 |
org.apache.camel.model.ProcessorDefinition.wireTap(String, ExecutorService)
use the fluent builder from WireTapDefinition , will be removed in Camel 3.0 |
org.apache.camel.model.ProcessorDefinition.wireTap(String, Expression)
use the fluent builder from WireTapDefinition , will be removed in Camel 3.0 |
org.apache.camel.model.ProcessorDefinition.wireTap(String, Processor)
use the fluent builder from WireTapDefinition , will be removed in Camel 3.0 |
org.apache.camel.model.ProcessorDefinition.wireTap(String, String)
use the fluent builder from WireTapDefinition , will be removed in Camel 3.0 |