Deprecated API


Contents
Deprecated Interfaces
org.mule.api.interceptor.Interceptor
          - This is only used for backwards compatability with old style (Mule 1.x) interceptors 
org.mule.api.interceptor.Invocation
          - This is only used for backwards compatability with old style (Mule 1.x) interceptors 
 

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.context.notification.MessageNotification
          renamed to EndpointMessageNotification 
org.mule.transport.soap.axis.extensions.MuleHttpSender
          Use the UniversalSender instead 
 

Deprecated Fields
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.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.Registry.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.Registry.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.Registry.getEndpoints()
          Use lookupEndpoint() 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.Registry.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.Registry.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.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-2008 MuleSource, Inc.. All Rights Reserved.