Synapse
  1. Synapse
  2. SYNAPSE-528

Synapse doesn't warn the user about pending callbacks

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: NIGHTLY, 3.0
    • Component/s: None
    • Labels:
      None

      Description

      Depending on the transport used, not setting the OUT_ONLY property as required will leave entries in the callback table that only expire after 86400 seconds, i.e. one day (since no response ever arrives). Synapse should somehow warn the user when entries start to accumulate in the callback table.

      See also http://markmail.org/message/nbw6s2jbcclig2dl

        Activity

        Hide
        Eric Hubert added a comment -

        Maybe we can also expose the callback table count via an MBean attribute? This way it is easy to monitor from the outside.

        Show
        Eric Hubert added a comment - Maybe we can also expose the callback table count via an MBean attribute? This way it is easy to monitor from the outside.
        Hide
        Asankha C. Perera added a comment -

        The default delay can be changed.. and if a timeout is specified, the callback will only exist until such time. However I fully agree that its good to warn the user (maybe with an age analysis sort of report) and expose the table to be managed/cleared via JMX

        Show
        Asankha C. Perera added a comment - The default delay can be changed.. and if a timeout is specified, the callback will only exist until such time. However I fully agree that its good to warn the user (maybe with an age analysis sort of report) and expose the table to be managed/cleared via JMX
        Hide
        Hiranya Jayathilaka added a comment -

        Added a JMX MBean to monitor the callback store. Now SynapseCallbackReceiver gets initialized by the Axis2SynapseController on server startup.

        Show
        Hiranya Jayathilaka added a comment - Added a JMX MBean to monitor the callback store. Now SynapseCallbackReceiver gets initialized by the Axis2SynapseController on server startup.
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Synapse - Trunk #4675 (See https://builds.apache.org/job/Synapse%20-%20Trunk/4675/)
        Adding a JMX MBean to monitor the synapse call back store - SYNAPSE-528 (hiranya: rev 1509920)

        • /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Axis2SynapseController.java
        • /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/ServerContextInformation.java
        • /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/AnonymousServiceFactory.java
        • /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java
        • /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreView.java
        • /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreViewMBean.java
        Show
        Hudson added a comment - FAILURE: Integrated in Synapse - Trunk #4675 (See https://builds.apache.org/job/Synapse%20-%20Trunk/4675/ ) Adding a JMX MBean to monitor the synapse call back store - SYNAPSE-528 (hiranya: rev 1509920) /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Axis2SynapseController.java /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/ServerContextInformation.java /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/AnonymousServiceFactory.java /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreView.java /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackStoreViewMBean.java

          People

          • Assignee:
            Hiranya Jayathilaka
            Reporter:
            Andreas Veithen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development