Deprecated API


Contents
Deprecated Interfaces
org.mule.api.component.builder.MessageBuilder
          Since 2.2. Users should configure components with bindings. 
 

Deprecated Classes
org.mule.component.builder.AbstractMessageBuilder
          Since 2.2. Users should configure components with bindings. 
org.mule.component.simple.BridgeComponent
          along with bridge-service - use an empty service and, if you want an efficient transfer of messages, add a forwarding-consumer. 
org.mule.transport.jms.JmsMessageReceiver
          use MultiConsumerJmsMessageReceiver (set by default). 
org.mule.module.xml.expression.JXPathExpressionEvaluator
          Developers should use xpath, bean or groovy instead of this expression evaluator since there are some quirks with JXPath and the performance is not good. 
org.mule.context.notification.MessageNotification
          renamed to EndpointMessageNotification 
org.mule.transport.soap.axis.extensions.MuleHttpSender
          Use the UniversalSender instead 
org.mule.component.builder.ReflectionMessageBuilder
          Since 2.2. Users should configure components with bindings. 
org.mule.transport.file.SimpleFilenameParser
          Superceded by ExpressionFilenameParser, which is now used by Mule implicitly. 
 

Deprecated Fields
org.mule.util.SpiUtils.PROVIDER_SERVICE_PATH
          use {@link #TRANSPORT_SERVICE_PATH 
org.mule.api.registry.ServiceDescriptorFactory.PROVIDER_SERVICE_TYPE
          use ServiceDescriptorFactory.TRANSPORT_SERVICE_TYPE 
org.mule.config.PoolingProfile.WHEN_EXHAUSTED_BLOCK
          use WHEN_EXHAUSTED_WAIT instead 
 

Deprecated Methods
org.mule.module.xml.transformer.AbstractXmlTransformer.convertToText(Object)
          Replaced by convertToText(Object obj, String ouputEncoding) 
org.mule.registry.MuleRegistryHelper.createServiceDescriptor(String, String, Properties)
          ServiceDescriptors will be created upon bundle startup for OSGi. 
org.mule.transport.soap.SoapServiceFinder.findService(String, ServiceDescriptor, Properties)
          We can use a more intelligent strategy for locating the service using the OSGi registry. 
org.mule.api.registry.MuleRegistry.getAgents()
          Use lookupAgent() instead 
org.mule.transport.tcp.TcpConnector.getBacklog()
          should use TcpConnector.getReceiveBacklog() 
org.mule.transport.tcp.TcpConnector.getBufferSize()
          Should use TcpConnector.getSendBufferSize() or TcpConnector.getReceiveBufferSize() 
org.mule.module.management.mbean.MuleService.getBuildDate()
          use getBuildNumber() instead 
org.mule.api.registry.MuleRegistry.getConnectors()
          Use lookupConnector() instead 
org.mule.api.endpoint.EndpointURI.getEndpointName()
          This property is used by endpoint-identifiers, global-endpoints use ImmutableEndpoint.getName() 
org.mule.api.registry.MuleRegistry.getEndpoints()
          Use EndpointFactory for creation/lookup of individual endpoints instead 
org.mule.routing.filters.RegExFilter.getExpression()
          Use RegExFilter.getPattern() This method name was changed to be consistent with other filters 
org.mule.api.endpoint.EndpointFactory.getInboundEndpoint(EndpointURI)
            
org.mule.routing.filters.logic.AbstractFilterCollection.getLeftFilter()
            
org.mule.management.stats.ServiceStatistics.getMaxExecutionTime()
            
org.mule.management.stats.ServiceStatistics.getMinExecutionTime()
            
org.mule.api.registry.MuleRegistry.getModels()
          Use lookupModel() instead 
org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser.getOrphanBeanAssembler(Element, BeanDefinitionBuilder)
            
org.mule.api.endpoint.EndpointFactory.getOutboundEndpoint(EndpointURI)
            
org.mule.routing.EventCorrelator.getResponseMessages()
          this is used by a test, but I would like to remove this method 
org.mule.routing.filters.logic.AbstractFilterCollection.getRightFilter()
            
org.mule.transport.http.HttpResponse.getStatuscode()
          use HttpResponse.getStatusCode() instead 
org.mule.management.stats.ServiceStatistics.getTotalExecutionTime()
            
org.mule.api.registry.MuleRegistry.getTransformers()
          Use lookupTransformer() instead 
org.mule.module.xml.filters.JXPathFilter.getValue()
          Use getExpectedValue(). 
org.mule.transformer.simple.SerializableToByteArray.isAcceptUMOMessage()
          use SerializableToByteArray.isAcceptMuleMessage() 
org.mule.config.i18n.CoreMessages.noBindingResource()
          Use more specific CoreMessages.commitTxButNoResource(org.mule.api.transaction.Transaction) or CoreMessages.rollbackTxButNoResource(org.mule.api.transaction.Transaction) 
org.mule.util.PropertiesUtils.propertiesToString(Map, boolean)
          Use MapUtils.toString(Map, boolean) instead 
org.mule.module.client.MuleClient.registerComponent(Object, String, EndpointURI)
          Use the RegistryContext to get the registry and register the service there 
org.mule.module.client.MuleClient.registerComponent(Object, String, MuleEndpointURI, MuleEndpointURI)
          Use the RegistryContext to get the registry and register the service there 
org.mule.api.transport.Connector.request(String, long)
          Use request(ImmutableEndpoint endpoint, long timeout) 
org.mule.transformer.simple.SerializableToByteArray.setAcceptUMOMessage(boolean)
          use SerializableToByteArray.setAcceptMuleMessage(boolean) 
org.mule.transport.tcp.TcpConnector.setBacklog(int)
          should use TcpConnector.setReceiveBacklog(int) 
org.mule.transport.tcp.TcpConnector.setBufferSize(int)
          Should use TcpConnector.setSendBufferSize(int) or TcpConnector.setReceiveBufferSize(int) 
org.mule.api.endpoint.EndpointURI.setEndpointName(String)
          This property is used by endpoint-identifiers, global-endpoints use ImmutableEndpoint.getName() 
org.mule.routing.filters.RegExFilter.setExpression(String)
          Use RegExFilter.getPattern() This method name was changed to be consistent with other filters 
org.mule.routing.filters.logic.AbstractFilterCollection.setLeftFilter(Filter)
            
org.mule.transport.soap.axis.extensions.MuleMsgProvider.setOperationStyle(MessageContext)
          I dont think this is necessary, but leaving it here for a while 
org.mule.routing.filters.logic.AbstractFilterCollection.setRightFilter(Filter)
            
org.mule.transport.tcp.TcpConnector.setTimeout(int)
          The time out should be set explicitly for each 
org.mule.module.xml.filters.JXPathFilter.setValue(String)
          Use setExpectedValue(String expectedValue). 
org.mule.module.client.MuleClient.unregisterComponent(String)
          Use the RegistryContext to get the registry and unregister the service there 
 

Deprecated Constructors
org.mule.endpoint.EndpointURIEndpointBuilder(EndpointURI, MuleContext)
            
org.mule.endpoint.EndpointURIEndpointBuilder(String, MuleContext)
            
org.mule.context.notification.MessageNotification(MuleMessage, ImmutableEndpoint, String, int)
            
org.mule.transport.TransactedPollingMessageReceiver(Connector, Service, InboundEndpoint, long)
          please use #TransactedPollingMessageReceiver(Connector,Service,InboundEndpoint,long,TimeUnit) instead 
 



Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.