Deprecated API


Contents
Deprecated Classes
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.transport.soap.axis.extensions.MuleHttpSender
          Use the UniversalSender instead 
 

Deprecated Annotation Types
org.mule.config.annotations.endpoints.Bind
          use an ibean instead. Keeping this around in case there are some valid reasons to use it we have not thought of yet. 
 

Deprecated Fields
org.mule.util.SpiUtils.PROVIDER_SERVICE_PATH
          use SpiUtils.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.transport.http.HttpMessageAdapter.getHeader(String)
          use getStringProperty 
org.mule.api.endpoint.EndpointFactory.getInboundEndpoint(EndpointURI)
            
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.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.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.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.transport.soap.axis.extensions.MuleMsgProvider.setOperationStyle(MessageContext)
          I dont think this is necessary, but leaving it here for a while 
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.transport.TransactedPollingMessageReceiver(Connector, Service, InboundEndpoint, long)
          please use TransactedPollingMessageReceiver.TransactedPollingMessageReceiver(Connector,Service,InboundEndpoint) instead 
 



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