View Javadoc

1   /*
2    * $Id: MessageNotification.java 12247 2008-07-07 21:25:01Z dfeist $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.context.notification;
12  
13  import org.mule.api.MuleMessage;
14  import org.mule.api.endpoint.ImmutableEndpoint;
15  
16  /**
17   * These notifications are fire when either a message is received via an endpoint, or
18   * dispatcher of if a receive call is made on a dispatcher.
19   * 
20   * @deprecated renamed to EndpointMessageNotification
21   */
22  public class MessageNotification extends EndpointMessageNotification
23  {
24  
25      /**
26       * Serial version
27       */
28      private static final long serialVersionUID = -5118299601117624094L;
29  
30      /**
31       * @param resource
32       * @param endpoint
33       * @param identifier
34       * @param action
35       * @deprecated
36       */
37      public MessageNotification(MuleMessage resource, ImmutableEndpoint endpoint, String identifier, int action)
38      {
39          super(resource, endpoint, identifier, action);
40      }
41  
42  }