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

Dynamic service provider

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

Details

  • Type: Patch submission Patch submission
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix or Usage Issue
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Transport: (new transport)
  • Labels:
    None
  • Similar Issues:
    None

Description

create New service provider "dynamic". When add endpoint "dynamic://message_property" in outbound router, it will create real endpoint in runtime. The real endpoint is defined in message property: message_property. This is usefull for some application, it only know endpoint in runtime. Example:
IBM MQ's reply message for different Queue Manager. IBM MQ has Reply-Queue and Reply-QueueManager setting in MQMD. For automatically reply, it only know connector( Queue Manager) in runtime.
It could also use for Rule base message routing, see http://jira.symphonysoft.com/browse/MULE-60

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    dynamic.zip
    14/Aug/06 01:57 PM
    3 kB
    David Song
    1. Java Source File
      DynamicMessageDispatcherFactory.java 0.8 kB
    2. Java Source File
      DynamicConnector.java 0.6 kB
    3. Java Source File
      DynamicMessageAdapter.java 0.9 kB
    4. Java Source File
      DynamicMessageDispatcher.java 5 kB
    Download Zip
    Show
    Zip Archive
    dynamic.zip
    14/Aug/06 01:57 PM
    3 kB
    David Song
  2. Text File
    dynamic
    14/Aug/06 01:59 PM
    0.3 kB
    David Song
  3. Hide
    Zip Archive
    dyanmic-2006-08-29.zip
    29/Aug/06 07:33 PM
    8 kB
    David Song
    1. File
      META-INF/services/org/.../providers/dynamic 0.3 kB
    2. Java Source File
      org/mule/.../dynamic/DynamicConnector.java 0.5 kB
    3. Java Source File
      org/mule/.../DynamicEndpointBuilder.java 0.6 kB
    4. Java Source File
      org/mule/.../DynamicMessageAdapter.java 0.8 kB
    5. Java Source File
      org/mule/.../DynamicMessageDispatcher.java 7 kB
    6. Java Source File
      org/.../DynamicMessageDispatcherFactory.java 0.7 kB
    7. XML File
      org/mule/test/.../dynamic/dynamic.xml 1 kB
    8. Java Source File
      org/mule/.../dynamic/DynamicTestCase.java 3 kB
    Download Zip
    Show
    Zip Archive
    dyanmic-2006-08-29.zip
    29/Aug/06 07:33 PM
    8 kB
    David Song

Issue Links

relates to

Bug - A problem which impairs or prevents the functions of the product. MULE-973 Can't use TemplateEndpointRouter with SpringConfigurationBuilder

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • 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
David Song added a comment - 14/Aug/06 01:57 PM

attach implementation for this feature

Show
David Song added a comment - 14/Aug/06 01:57 PM attach implementation for this feature
Hide
Permalink
David Song added a comment - 14/Aug/06 01:59 PM

attach service provider configuration file

Show
David Song added a comment - 14/Aug/06 01:59 PM attach service provider configuration file
Hide
Permalink
David Song added a comment - 29/Aug/06 07:33 PM

Send new implementation of this provider according some suggestion by Ross Masson

Show
David Song added a comment - 29/Aug/06 07:33 PM Send new implementation of this provider according some suggestion by Ross Masson
Hide
Permalink
Mark Panahi added a comment - 04/Jun/07 04:16 PM

I'm really interested in this feature but it doesn't compile with 1.4 (lots of unimplemented methods). Is anyone working on getting this to work with Mule 1.4?

Show
Mark Panahi added a comment - 04/Jun/07 04:16 PM I'm really interested in this feature but it doesn't compile with 1.4 (lots of unimplemented methods). Is anyone working on getting this to work with Mule 1.4?
Hide
Permalink
Andrew Perepelytsya added a comment - 04/Jun/07 04:23 PM

Mark,

Please post the errors to the user list so fixes can be suggested. I can't even tell which Mule version it was designed against.

Show
Andrew Perepelytsya added a comment - 04/Jun/07 04:23 PM Mark, Please post the errors to the user list so fixes can be suggested. I can't even tell which Mule version it was designed against.
Hide
Permalink
Mark Panahi added a comment - 04/Jun/07 04:39 PM

I am trying to compile with 1.4.0. It looks like the dynamic provider was designed for a 1.3.x version. It seems like a lot of abstract methods were added in UMOMessageDispatcher, AbstractConnector, and UMOMessageDispatcherFactory from 1.3 to 1.4. Here are the errors. Please note this is after I tried implementing a few dummy methods myself, so you may not get the same errors in the beginning.

[INFO] Compiling 5 source files to /home/mpanahi/mule/mule-1.4.0-src/core/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/mpanahi/mule/mule-1.4.0-src/core/src/main/java/org/mule/providers/dynamic/DynamicMessageDispatcher.java:[40,7] org.mule.providers.dynamic.DynamicMessageDispatcher is not abstract and does not override abstract method activate() in org.mule.umo.provider.UMOMessageDispatcher

/home/mpanahi/mule/mule-1.4.0-src/core/src/main/java/org/mule/providers/dynamic/DynamicConnector.java:[15,7] org.mule.providers.dynamic.DynamicConnector is not abstract and does not override abstract method doStop() in org.mule.providers.AbstractConnector

/home/mpanahi/mule/mule-1.4.0-src/core/src/main/java/org/mule/providers/dynamic/DynamicMessageDispatcherFactory.java:[18,7] org.mule.providers.dynamic.DynamicMessageDispatcherFactory is not abstract and does not override abstract method validate(org.mule.umo.endpoint.UMOImmutableEndpoint,org.mule.umo.provider.UMOMessageDispatcher) in org.mule.umo.provider.UMOMessageDispatcherFactory

Show
Mark Panahi added a comment - 04/Jun/07 04:39 PM I am trying to compile with 1.4.0. It looks like the dynamic provider was designed for a 1.3.x version. It seems like a lot of abstract methods were added in UMOMessageDispatcher, AbstractConnector, and UMOMessageDispatcherFactory from 1.3 to 1.4. Here are the errors. Please note this is after I tried implementing a few dummy methods myself, so you may not get the same errors in the beginning. [INFO] Compiling 5 source files to /home/mpanahi/mule/mule-1.4.0-src/core/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /home/mpanahi/mule/mule-1.4.0-src/core/src/main/java/org/mule/providers/dynamic/DynamicMessageDispatcher.java:[40,7] org.mule.providers.dynamic.DynamicMessageDispatcher is not abstract and does not override abstract method activate() in org.mule.umo.provider.UMOMessageDispatcher /home/mpanahi/mule/mule-1.4.0-src/core/src/main/java/org/mule/providers/dynamic/DynamicConnector.java:[15,7] org.mule.providers.dynamic.DynamicConnector is not abstract and does not override abstract method doStop() in org.mule.providers.AbstractConnector /home/mpanahi/mule/mule-1.4.0-src/core/src/main/java/org/mule/providers/dynamic/DynamicMessageDispatcherFactory.java:[18,7] org.mule.providers.dynamic.DynamicMessageDispatcherFactory is not abstract and does not override abstract method validate(org.mule.umo.endpoint.UMOImmutableEndpoint,org.mule.umo.provider.UMOMessageDispatcher) in org.mule.umo.provider.UMOMessageDispatcherFactory
Hide
Permalink
Andrew Perepelytsya added a comment - 04/Jun/07 04:42 PM

Those are pretty trivial to implement, quite often they can be just no-ops (have a look at some other transports).

Show
Andrew Perepelytsya added a comment - 04/Jun/07 04:42 PM Those are pretty trivial to implement, quite often they can be just no-ops (have a look at some other transports).
Hide
Permalink
Mark Panahi added a comment - 04/Jun/07 04:50 PM

Ok, thanks. I'll do that and post a new version if I can get it working.

Show
Mark Panahi added a comment - 04/Jun/07 04:50 PM Ok, thanks. I'll do that and post a new version if I can get it working.
Hide
Permalink
Daniel Feist added a comment - 10/Jun/09 12:19 PM

This can almost certainly be achieved with template based router, recipient list router or expressions. Even if not a new "dynamic" transport is the correct approach for this.

Show
Daniel Feist added a comment - 10/Jun/09 12:19 PM This can almost certainly be achieved with template based router, recipient list router or expressions. Even if not a new "dynamic" transport is the correct approach for this.

People

  • Assignee:
    Unassigned
    Reporter:
    David Song
Vote (1)
Watch (2)

Dates

  • Created:
    14/Aug/06 01:57 PM
    Updated:
    10/Jun/09 12:19 PM
    Resolved:
    10/Jun/09 12:19 PM

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.