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-2170

Improve implementation of MuleEndpointUri and AbstractEndpointBuilder

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

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.4.1, 2.0.0-M1
  • Fix Version/s: Tech. Debt
  • Component/s: Core: Endpoints
  • Labels:
    None
  • User impact:
    Low
  • Effort points:
    2
  • Similar Issues:
    None

Description

While investigating the cause of MULE-2164 i looked carefully at these implementations, and found a number of issues:

  • When MuleEndpointURI's are copied/reconstructed the value of schemaMetaInfo is lost and the value of address gets "mangled" (See MULE-2164)
  • EndpointBuilder/AbstractEndpointBuilder should be called EndpointURIBuilder/AbstractEndpointURIBuilder
  • AbstractEndpointBuilder has dynamic state and is therefore not thread-safe! (values are set to null manually ready for the next thread (but method is not synchronized ) )
  • The MuleEndpoint(URI)Builder exists but does not build EnpointURI's, MuleEndpointURI's are created through a mix of constructors, initialize methods and the MuleEndpointBuilder.
  • AbstractEndpointBuilder set's MuleEndpointURI attributes by creating a new MuleEnpointURI instance and then copying values onto existing instance.
  • MuleEndpointURI.getSchemeMetaInfo() which is an explicit get for schemeMetaInfo returns a value is there is no schemeMetaInfo

There is also a need to verify the correct implementation (and usage throughout codebase) of getScheme()/getScehemeMetaInfo()/getFullScheme()/getAddress()/getUri()

Issue Links

relates to

Bug - A problem which impairs or prevents the functions of the product. MULE-2164 Copied endpointURI's lose value of "schemeMetaInfo" and have incorrect "address"

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Reopened - This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.

Bug - A problem which impairs or prevents the functions of the product. MULE-1677 Problems with the endpoint address format when using Axis over JMS

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Bug - A problem which impairs or prevents the functions of the product. MULE-1839 Axis transport fails to pass tests in 2.0

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Improvement - An improvement or enhancement to an existing feature or task. MULE-2495 Restrict visibility of UMOEndpointURI attributes once endpoints are created or use something else.

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
No work has yet been logged on this issue.

People

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

Dates

  • Created:
    17/Aug/07 11:11 AM
    Updated:
    12/Dec/08 09:22 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.