Deprecated API


Contents
Deprecated Interfaces
org.mule.api.security.EndpointSecurityFilter
           
 

Deprecated Classes
org.mule.security.AbstractEndpointSecurityFilter
           
org.mule.transformer.AbstractMessageAwareTransformer
            
org.mule.service.ForwardingConsumer
            
org.mule.session.LegacySessionHandler
          Since all properties are converted to Strings, this session handler has the issue EE-1705/MULE-4567. Use SerializeAndEncodeSessionHandler or SerializeOnlySessionHandler instead. 
org.mule.session.MuleSessionHandler
          Use an explicit SessionHandler such as SerializeAndEncodeSessionHandler or SerializeOnlySessionHandler 
org.mule.routing.ServiceCatchAllStrategy
            
org.mule.routing.outbound.TransformerRouter
            
 

Deprecated Fields
org.mule.api.config.MuleProperties.MULE_SESSION_ID_PROPERTY
          This property is no longer needed and will be removed in the next major release 
org.mule.api.model.InvocationResult.STATE_INVOKE_NOT_SUPPORTED
           
org.mule.api.model.InvocationResult.STATE_INVOKED_FAILED
           
org.mule.api.model.InvocationResult.STATE_INVOKED_SUCESSFUL
           
 

Deprecated Methods
org.mule.DefaultMuleMessage.addAttachment(String, DataHandler)
           
org.mule.api.MuleMessage.addAttachment(String, DataHandler)
          use MuleMessage.addOutboundAttachment(java.lang.String, javax.activation.DataHandler) instead 
org.mule.api.MuleMessage.addProperties(Map)
          use MuleMessage.addProperties(java.util.Map, org.mule.api.transport.PropertyScope) instead 
org.mule.endpoint.AbstractEndpointBuilder.addResponseTransformer(Transformer)
          Use addResponseMessageProcessor() 
org.mule.api.endpoint.EndpointBuilder.addResponseTransformer(Transformer)
          Use addResponseMessageProcessor() 
org.mule.endpoint.AbstractEndpointBuilder.addTransformer(Transformer)
          Use addMessageProcessor() 
org.mule.api.endpoint.EndpointBuilder.addTransformer(Transformer)
          Use addMessageProcessor() 
org.mule.api.MuleMessage.clearProperties()
          use MuleMessage.clearProperties(org.mule.api.transport.PropertyScope) instead 
org.mule.util.SerializationUtils.deserialize(byte[], ClassLoader)
          Call deserialize(byte[] objectData, MuleContext muleContext) instead 
org.mule.util.SerializationUtils.deserialize(InputStream, ClassLoader)
          Call deserialize(InputStream inputStream, MuleContext muleContext) instead 
org.mule.api.service.Service.dispatchEvent(MuleEvent)
            
org.mule.service.AbstractService.dispatchEvent(MuleEvent)
           
org.mule.api.MuleEventContext.dispatchEvent(MuleMessage)
            
org.mule.api.MuleEventContext.dispatchEvent(MuleMessage, EndpointURI)
            
org.mule.api.MuleEventContext.dispatchEvent(Object)
            
org.mule.api.registry.MuleRegistry.getAgents()
          Use lookupAgent() instead 
org.mule.DefaultMuleMessage.getAttachment(String)
           
org.mule.api.MuleMessage.getAttachment(String)
          use MuleMessage.getInboundAttachment(String) instead 
org.mule.DefaultMuleMessage.getAttachmentNames()
           
org.mule.api.MuleMessage.getAttachmentNames()
          use MuleMessage.getInboundAttachmentNames() 
org.mule.DefaultMuleMessage.getBooleanProperty(String, boolean)
           
org.mule.api.MuleMessage.getBooleanProperty(String, boolean)
          use MuleMessage.getInboundProperty(String, Object) instead 
org.mule.util.annotation.AnnotationUtils.getClassAnnotationInHeirarchy(Class)
          use getClassAnnotationInHierarchy(Class) 
org.mule.util.annotation.AnnotationUtils.getClassAnnotationInHeirarchy(Class, Class)
          use getClassAnnotationInHierarchy(Class, Class) 
org.mule.management.stats.AllStatistics.getComponentStatistics()
          use #getServiceStatistics 
org.mule.api.registry.MuleRegistry.getConnectors()
          Use lookupConnector() instead 
org.mule.DefaultMuleMessage.getDoubleProperty(String, double)
           
org.mule.api.MuleMessage.getDoubleProperty(String, double)
          use MuleMessage.getInboundProperty(String, Object) instead 
org.mule.api.transformer.Transformer.getEndpoint()
            
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.util.annotation.AnnotationUtils.getFieldAnnotationsForHeirarchy(Class)
          use getFieldAnnotationsForHierarchy(Class) 
org.mule.util.annotation.AnnotationUtils.getFieldAnnotationsForHeirarchy(Class, Class)
          use getFieldAnnotationsForHierarchy(Class, Class) 
org.mule.api.endpoint.EndpointFactory.getInboundEndpoint(EndpointURI)
            
org.mule.DefaultMuleMessage.getIntProperty(String, int)
           
org.mule.api.MuleMessage.getIntProperty(String, int)
          use MuleMessage.getInboundProperty(String, Object) instead 
org.mule.DefaultMuleMessage.getLongProperty(String, long)
           
org.mule.api.MuleMessage.getLongProperty(String, long)
          use MuleMessage.getInboundProperty(String, Object) instead 
org.mule.management.stats.ServiceStatistics.getMaxExecutionTime()
            
org.mule.management.stats.ServiceStatistics.getMinExecutionTime()
            
org.mule.api.registry.MuleRegistry.getModels()
          Use lookupModel() instead 
org.mule.api.endpoint.EndpointFactory.getOutboundEndpoint(EndpointURI)
            
org.mule.DefaultMuleMessage.getProperty(String)
           
org.mule.DefaultMuleEvent.getProperty(String)
          use appropriate scope-aware calls on the MuleMessage (via event.getMessage()) 
org.mule.MessagePropertiesContext.getProperty(String)
          use the overloaded version with an explicit lookup scope. This method will now use only the outbound scope. 
org.mule.api.MuleMessage.getProperty(String)
          use the overloaded version with an explicit lookup scope. This method will now use only the outbound scope. 
org.mule.api.MuleEvent.getProperty(String)
            
org.mule.DefaultMuleEvent.getProperty(String, Object)
          use appropriate scope-aware calls on the MuleMessage (via event.getMessage()) 
org.mule.api.MuleMessage.getProperty(String, Object)
          use scope-aware methods instead 
org.mule.api.MuleEvent.getProperty(String, Object)
            
org.mule.DefaultMuleMessage.getPropertyNames()
          use DefaultMuleMessage.getPropertyNames(org.mule.api.transport.PropertyScope) 
org.mule.MessagePropertiesContext.getPropertyNames()
          use MessagePropertiesContext.getPropertyNames(org.mule.api.transport.PropertyScope) 
org.mule.api.MuleMessage.getPropertyNames()
          use MuleMessage.getPropertyNames(org.mule.api.transport.PropertyScope) 
org.mule.api.MuleSession.getPropertyNames()
          Use getPropertyNamesAsSet() instead 
org.mule.session.DefaultMuleSession.getPropertyNames()
          Use getPropertyNamesAsSet() instead 
org.mule.endpoint.AbstractEndpoint.getResponseTransformers()
          use getResponseMessageProcessors() 
org.mule.api.endpoint.ImmutableEndpoint.getResponseTransformers()
          use getResponseMessageProcessors() instead 
org.mule.api.transformer.Transformer.getReturnClass()
          use Transformer.getReturnDataType() instead. 
org.mule.transformer.AbstractTransformer.getReturnClass()
           
org.mule.api.endpoint.ImmutableEndpoint.getSecurityFilter()
           
org.mule.api.transport.SessionHandler.getSessionIDKey()
          This method is no longer needed and will be removed in the next major release 
org.mule.session.SerializeOnlySessionHandler.getSessionIDKey()
          This method is no longer needed and will be removed in the next major release 
org.mule.session.LegacySessionHandler.getSessionIDKey()
          This method is no longer needed and will be removed in the next major release 
org.mule.session.SimpleSessionHandler.getSessionIDKey()
          This method is no longer needed and will be removed in the next major release 
org.mule.api.transformer.Transformer.getSourceTypes()
          use Transformer.getSourceDataTypes() instead 
org.mule.transformer.AbstractTransformer.getSourceTypes()
           
org.mule.DefaultMuleMessage.getStringProperty(String, String)
           
org.mule.MessagePropertiesContext.getStringProperty(String, String)
           
org.mule.api.MuleMessage.getStringProperty(String, String)
          use MuleMessage.getInboundProperty(String, Object) instead 
org.mule.management.stats.ServiceStatistics.getTotalExecutionTime()
            
org.mule.endpoint.AbstractEndpoint.getTransformers()
          use getMessageProcessors() 
org.mule.api.endpoint.ImmutableEndpoint.getTransformers()
          use getMessageProcessors() instead 
org.mule.api.registry.MuleRegistry.getTransformers()
          Use lookupTransformer() instead 
org.mule.api.transformer.Transformer.isSourceTypeSupported(Class)
          use Transformer.isSourceDataTypeSupported(org.mule.api.transformer.DataType) instead 
org.mule.transformer.AbstractTransformer.isSourceTypeSupported(Class)
           
org.mule.transformer.AbstractTransformer.isSourceTypeSupported(Class, boolean)
          use AbstractTransformer.isSourceDataTypeSupported(org.mule.api.transformer.DataType, boolean) 
org.mule.api.registry.MuleRegistry.lookupEndpointFactory()
          use MuleContext.getEndpointFactory() instead 
org.mule.api.registry.MuleRegistry.lookupTransformer(Class, Class)
          use MuleRegistry.lookupTransformer(org.mule.api.transformer.DataType, org.mule.api.transformer.DataType) instead 
org.mule.registry.MuleRegistryHelper.lookupTransformer(Class, Class)
          use MuleRegistryHelper.lookupTransformer(org.mule.api.transformer.DataType, org.mule.api.transformer.DataType) instead. This method should only be used internally to discover transformers, typically a user does not need ot do this directly 
org.mule.api.registry.MuleRegistry.lookupTransformers(Class, Class)
          use MuleRegistry.lookupTransformers(org.mule.api.transformer.DataType, org.mule.api.transformer.DataType) instead 
org.mule.registry.MuleRegistryHelper.lookupTransformers(Class, Class)
          use MuleRegistryHelper.lookupTransformer(org.mule.api.transformer.DataType, org.mule.api.transformer.DataType) instead. This method should only be used internally to discover transformers, typically a user does not need ot do this directly 
org.mule.util.PropertiesUtils.propertiesToString(Map, boolean)
          Use MapUtils.toString(Map, boolean) instead 
org.mule.transformer.AbstractTransformer.registerSourceType(Class)
          use registerSourceType(DataType) 
org.mule.DefaultMuleMessage.removeAttachment(String)
           
org.mule.api.MuleMessage.removeAttachment(String)
          use MuleMessage.removeOutboundAttachment(java.lang.String) instead 
org.mule.api.MuleMessage.removeProperty(String)
          use MuleMessage.removeProperty(String, org.mule.api.transport.PropertyScope) 
org.mule.api.transport.Connector.request(String, long)
          Use request(ImmutableEndpoint endpoint, long timeout) 
org.mule.api.MuleEventContext.requestEvent(EndpointURI, long)
            
org.mule.api.transport.SessionHandler.retrieveSessionInfoFromMessage(MuleMessage, MuleSession)
          Use retrieveSessionInfoFromMessage(MuleMessage message) instead 
org.mule.session.SerializeOnlySessionHandler.retrieveSessionInfoFromMessage(MuleMessage, MuleSession)
          Use retrieveSessionInfoFromMessage(MuleMessage message) instead 
org.mule.session.NullSessionHandler.retrieveSessionInfoFromMessage(MuleMessage, MuleSession)
          Use retrieveSessionInfoFromMessage(MuleMessage message) instead 
org.mule.session.LegacySessionHandler.retrieveSessionInfoFromMessage(MuleMessage, MuleSession)
          Use retrieveSessionInfoFromMessage(MuleMessage message) instead 
org.mule.session.SimpleSessionHandler.retrieveSessionInfoFromMessage(MuleMessage, MuleSession)
          Use retrieveSessionInfoFromMessage(MuleMessage message) instead 
org.mule.transport.AbstractMessageDispatcher.returnResponse(MuleEvent)
            
org.mule.api.service.Service.sendEvent(MuleEvent)
            
org.mule.service.AbstractService.sendEvent(MuleEvent)
           
org.mule.api.MuleEventContext.sendEvent(MuleMessage)
            
org.mule.api.MuleEventContext.sendEvent(MuleMessage, EndpointURI)
            
org.mule.api.MuleEventContext.sendEvent(Object)
            
org.mule.context.notification.ServerNotificationManager.setAllListenerSubscriptionPairs(Collection)
          Use addAllListenerSubscriptionPairs which better describes the "add" operation that occurs. 
org.mule.DefaultMuleMessage.setBooleanProperty(String, boolean)
           
org.mule.api.MuleMessage.setBooleanProperty(String, boolean)
          use MuleMessage.setOutboundProperty(String, Object) instead 
org.mule.DefaultMuleMessage.setDoubleProperty(String, double)
           
org.mule.api.MuleMessage.setDoubleProperty(String, double)
          use MuleMessage.setOutboundProperty(String, Object) instead 
org.mule.construct.Flow.setEndpoint(InboundEndpoint)
          use setMessageSource(MessageSource) instead 
org.mule.DefaultMuleMessage.setIntProperty(String, int)
           
org.mule.api.MuleMessage.setIntProperty(String, int)
          use MuleMessage.setOutboundProperty(String, Object) instead 
org.mule.DefaultMuleMessage.setLongProperty(String, long)
           
org.mule.api.MuleMessage.setLongProperty(String, long)
          use MuleMessage.setOutboundProperty(String, Object) instead 
org.mule.routing.WireTap.setMessageProcessor(MessageProcessor)
           
org.mule.service.AbstractService.setMessageProcessor(MessageProcessor)
           
org.mule.routing.outbound.DefaultOutboundRouterCollection.setMessageProcessors(List)
           
org.mule.routing.outbound.AbstractOutboundRouter.setMessageProcessors(List)
           
org.mule.routing.requestreply.SimpleAsyncRequestReplyRequester.setMessageSource(MessageSource)
           
org.mule.DefaultMuleMessage.setProperty(String, Object)
          use DefaultMuleMessage.setProperty(String, Object, org.mule.api.transport.PropertyScope) or preferrably any of the scope-specific set methods. 
org.mule.MessagePropertiesContext.setProperty(String, Object)
          use MessagePropertiesContext.setProperty(String, Object, org.mule.api.transport.PropertyScope) 
org.mule.api.MuleMessage.setProperty(String, Object)
          use MuleMessage.setProperty(String, Object, org.mule.api.transport.PropertyScope) or preferrably any of the scope-specific set methods. 
org.mule.endpoint.AbstractEndpointBuilder.setResponseTransformers(List)
          Use setResponseMessageProcessors() 
org.mule.api.endpoint.EndpointBuilder.setResponseTransformers(List)
          Use setResponseMessageProcessors() 
org.mule.api.transformer.Transformer.setReturnClass(Class)
          use Transformer.setReturnDataType(DataType) instead 
org.mule.transformer.AbstractTransformer.setReturnClass(Class)
           
org.mule.DefaultMuleMessage.setStringProperty(String, String)
           
org.mule.api.MuleMessage.setStringProperty(String, String)
          use MuleMessage.setOutboundProperty(String, Object) instead 
org.mule.endpoint.AbstractEndpointBuilder.setTransformers(List)
          Use setMessageProcessors() 
org.mule.api.endpoint.EndpointBuilder.setTransformers(List)
          Use setMessageProcessors() 
org.mule.DefaultMuleEvent.transformMessage()
           
org.mule.api.MuleEvent.transformMessage()
          Since Mule 3.0 this method does nothing. The message is already transformed before the event reaches a component IF you need to have access to the original message, the must be no transformations before the component, this means that any 'connector-level' transfromers will have to be explicitly overriden via the service overrides on the connector. 
org.mule.DefaultMuleEventContext.transformMessageToBytes()
          use DefaultMuleEventContext.transformMessage(org.mule.api.transformer.DataType) instead 
org.mule.DefaultMuleEvent.transformMessageToBytes()
          use DefaultMuleEvent.transformMessage(org.mule.api.transformer.DataType) instead 
org.mule.api.MuleEventContext.transformMessageToBytes()
          use MuleEventContext.transformMessage(org.mule.api.transformer.DataType) instead 
org.mule.api.MuleEvent.transformMessageToBytes()
          use MuleEvent.transformMessage(org.mule.api.transformer.DataType) instead 
org.mule.transformer.AbstractTransformer.unregisterSourceType(Class)
          use unregisterSourceType(DataType) 
 

Deprecated Constructors
org.mule.api.security.CredentialsNotSetException(MuleEvent, SecurityContext, URI, SecurityFilter)
           
org.mule.session.DefaultMuleSession(MuleMessage, SessionHandler, FlowConstruct, MuleContext)
          Use DefaultMuleSession(Service service, MuleContext muleContext) instead 
org.mule.session.DefaultMuleSession(MuleMessage, SessionHandler, MuleContext)
          Use DefaultMuleSession(MuleContext muleContext) instead 
org.mule.routing.MessageFilter()
          Use MessageFilter(Filter filter) 
org.mule.api.MessagingException(Message, MuleMessage)
          use MessagingException(Message, MuleEvent) 
org.mule.api.MessagingException(Message, MuleMessage, Throwable)
          use MessagingException(Message, MuleEvent, Throwable) 
org.mule.processor.SecurityFilterMessageProcessor()
          Use SecurityFilterMessageProcessor(SecurityFilter filter) instead 
org.mule.transport.TransactedPollingMessageReceiver(Connector, FlowConstruct, InboundEndpoint, long)
          please use TransactedPollingMessageReceiver.TransactedPollingMessageReceiver(Connector, FlowConstruct, InboundEndpoint) instead 
org.mule.api.security.UnauthorisedException(MuleEvent, SecurityContext, URI, SecurityFilter)
           
 



Copyright © 2003-2011 MuleSoft, Inc.. All Rights Reserved.