JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5388

When SimpleServices inherits a component (element) same component instance is used and this introduces lifecycle problems

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 3.1.0
  • Fix Version/s: 3.1.1
  • Component/s: Core: Services
  • Labels:
    None
  • User impact:
    Medium
  • Configuration:
    Hide
    <mcp:simple-service abstract="true" name="abstract-functional-test-component-service">
        <test:component />
      </mcp:simple-service>
      
      <mcp:simple-service name="functional-test-component-2" parent="abstract-functional-test-component-service" address="vm://ftc2.in" />
      
      <mcp:simple-service name="functional-test-component-3" parent="abstract-functional-test-component-service" address="vm://ftc3.in" />
    Show
    <mcp:simple-service abstract="true" name="abstract-functional-test-component-service">
        <test:component />
      </mcp:simple-service>
      
      <mcp:simple-service name="functional-test-component-2" parent="abstract-functional-test-component-service" address="vm://ftc2.in" />
      
      <mcp:simple-service name="functional-test-component-3" parent="abstract-functional-test-component-service" address="vm://ftc3.in" />
  • Similar Issues:
    None

Description

In the config shown 'functional-test-component-2' and 'functional-test-component-3' have the same (single) component instance. If you then stop 'functional-test-component-2' you'll be rendering 'functional-test-component-3' non-functional because it's component gets stopped.

Only decent solution that occurs to be for now is to disable use of inherited component elements.

Issue Links

relates to

Bug - A problem which impairs or prevents the functions of the product. MULE-5385 AbstractComponent rejects events with an exception if service is not fully started and messages are lost

  • Blocker - Blocks development and/or testing work, production could not run.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Daniel Feist added a comment - 03/Feb/11 11:37 AM

Committed a validation so that SimpleServices can no longer inherit a component element.
3.1.x: r21182

Show
Daniel Feist added a comment - 03/Feb/11 11:37 AM Committed a validation so that SimpleServices can no longer inherit a component element. 3.1.x: r21182
Hide
Permalink
Daniel Feist added a comment - 03/Feb/11 11:40 AM

Updated doc: http://www.mulesoft.org/documentation/display/MULE3USER/Simple+Service+Pattern

Show
Daniel Feist added a comment - 03/Feb/11 11:40 AM Updated doc: http://www.mulesoft.org/documentation/display/MULE3USER/Simple+Service+Pattern

People

  • Assignee:
    Daniel Feist
    Reporter:
    Daniel Feist
Vote (0)
Watch (0)

Dates

  • Created:
    03/Feb/11 11:04 AM
    Updated:
    03/Feb/11 11:42 AM
    Resolved:
    03/Feb/11 11:40 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.