Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

Deprecated Classes
org.mule.transformer.AbstractMessageAwareTransformer
org.mule.service.ForwardingConsumer
org.mule.transport.bpm.jbpm.JBpmConnector It is recommended to configure BPM as a component rather than a transport for 3.x
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.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.transport.soap.axis.extensions.MuleHttpSender Use the UniversalSender instead
org.mule.session.MuleSessionHandler Use an explicit SessionHandler such as SerializeAndEncodeSessionHandler or SerializeOnlySessionHandler
org.mule.transport.bpm.ProcessConnector It is recommended to configure BPM as a component rather than a transport for 3.x
org.mule.transport.bpm.ProcessMessageDispatcher It is recommended to configure BPM as a component rather than a transport for 3.x
org.mule.transport.bpm.ProcessMessageDispatcherFactory It is recommended to configure BPM as a component rather than a transport for 3.x
org.mule.transport.bpm.ProcessMessageReceiver It is recommended to configure BPM as a component rather than a transport for 3.x
org.mule.routing.ServiceCatchAllStrategy
org.mule.routing.outbound.TransformerRouter

Deprecated Fields
org.mule.transport.http.HttpConnector.HTTP_CUSTOM_HEADERS_MAP_PROPERTY Instead users can now add properties to the outgoing request using the OUTBOUND property scope on the message.
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.transport.servlet.AbstractReceiverServlet.SERVLET_CONNECTOR_NAME_PROPERTY Use `MuleServletContextListener.CONNECTOR_NAME` instead
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 `#addOutboundAttachment(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.module.xml.transformer.AbstractXmlTransformer.convertToText(Object) Replaced by convertToText(Object obj, String ouputEncoding)
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.transport.soap.axis.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.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.transport.tcp.TcpConnector.getBacklog() should use `TcpConnector.getReceiveBacklog()`
org.mule.DefaultMuleMessage.getBooleanProperty(String, boolean)
org.mule.api.MuleMessage.getBooleanProperty(String, boolean) use `MuleMessage.getInboundProperty(String, Object)` instead
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.management.stats.AllStatistics.getComponentStatistics() use #getServiceStatistics
org.mule.module.management.mbean.StatisticsService.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.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.config.spring.parsers.AbstractHierarchicalDefinitionParser.getOrphanBeanAssembler(Element, BeanDefinitionBuilder)
org.mule.api.endpoint.EndpointFactory.getOutboundEndpoint(EndpointURI)
org.mule.DefaultMuleMessage.getProperty(String)
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.DefaultMuleEvent.getProperty(String) use appropriate scope-aware calls on the MuleMessage (via event.getMessage())
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.MuleSession.getPropertyNames() Use getPropertyNamesAsSet() instead
org.mule.api.MuleMessage.getPropertyNames() use `MuleMessage.getPropertyNames(org.mule.api.transport.PropertyScope)`
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.transport.SessionHandler.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.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.transport.http.HttpSessionHandler.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.transport.http.HttpResponse.getStatuscode() use `HttpResponse.getStatusCode()` instead
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.module.xml.filters.JXPathFilter.getValue() Use `getExpectedValue()`.
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.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.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.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.SimpleSessionHandler.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.transport.http.HttpSessionHandler.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.transport.tcp.TcpConnector.setBacklog(int) should use `TcpConnector.setReceiveBacklog(int)`
org.mule.DefaultMuleMessage.setBooleanProperty(String, boolean)
org.mule.api.MuleMessage.setBooleanProperty(String, boolean) use `MuleMessage.setOutboundProperty(String, Object)` instead
org.mule.transport.tcp.TcpConnector.setBufferSize(int) Should use `TcpConnector.setSendBufferSize(int)` or `TcpConnector.setReceiveBufferSize(int)`
org.mule.DefaultMuleMessage.setDoubleProperty(String, double)
org.mule.api.MuleMessage.setDoubleProperty(String, double) use `MuleMessage.setOutboundProperty(String, Object)` instead
org.mule.construct.SimpleFlowConstruct.setEndpoint(InboundEndpoint)
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.transport.soap.axis.extensions.MuleMsgProvider.setOperationStyle(MessageContext) I dont think this is necessary, but leaving it here for a while
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.transport.tcp.TcpConnector.setTimeout(int) The time out should be set explicitly for each
org.mule.endpoint.AbstractEndpointBuilder.setTransformers(List) Use setMessageProcessors()
org.mule.api.endpoint.EndpointBuilder.setTransformers(List) Use setMessageProcessors()
org.mule.module.xml.filters.JXPathFilter.setValue(String) Use `setExpectedValue(String expectedValue)`.
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.DefaultMuleEvent.transformMessageToBytes() use `DefaultMuleEvent.transformMessage(org.mule.api.transformer.DataType)` instead
org.mule.DefaultMuleEventContext.transformMessageToBytes() use `DefaultMuleEventContext.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.module.client.MuleClient.unregisterComponent(String) Use the RegistryContext to get the registry and unregister the service there
org.mule.transformer.AbstractTransformer.unregisterSourceType(Class) use unregisterSourceType(DataType)

Deprecated Constructors
org.mule.processor.AsyncInterceptingMessageProcessor(WorkManagerSource, boolean)
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.exception.DefaultServiceExceptionStrategy() Use DefaultServiceExceptionStrategy(MuleContext muleContext) instead
org.mule.exception.DefaultSystemExceptionStrategy() Use DefaultSystemExceptionStrategy(MuleContext muleContext) instead
org.mule.message.ExceptionMessage(Object, Throwable, String, EndpointURI) Use ExceptionMessage(Serializable message...) instead
org.mule.routing.MessageFilter() Use MessageFilter(Filter filter)
org.mule.transport.jms.MessageRedeliveredException(Message, MuleMessage) use MessageRedeliveredException(Message, MuleEvent)
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.OptionalAsyncInterceptingMessageProcessor(WorkManagerSource, boolean)
org.mule.processor.SecurityFilterMessageProcessor() Use SecurityFilterMessageProcessor(EndpointSecurityFilter filter) instead
org.mule.processor.SedaStageInterceptingMessageProcessor(String, QueueProfile, int, WorkManagerSource, boolean, LifecycleState, QueueStatistics, MuleContext)
org.mule.transport.TransactedPollingMessageReceiver(Connector, FlowConstruct, InboundEndpoint, long) please use `TransactedPollingMessageReceiver.TransactedPollingMessageReceiver(Connector, FlowConstruct, InboundEndpoint)` instead

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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