Issue Details (XML | Word | Printable)

Key: MULE-3585
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Dan Diephouse
Reporter: Sachin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mule

recipient-list-router

Created: 29/Jul/08 03:25 AM   Updated: 30/Sep/08 03:52 PM
Component/s: Core: Configuration
Affects Version/s: 2.0.1
Fix Version/s: 2.0 ITR7, 2.1.0

Time Tracking:
Not Specified

Issue Links:
Block
 

Labels:
User impact: Medium
Effort points: 0.5


 Description  « Hide
I tried <recipient-list-router> which is valid as per the mule.xsd but i get the following exception:

Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: The element 'recipient-list-router' does not have an associated Bean Definition Parser. Is the module or transport associated with http://www.mulesource.org/schema/mule/core/2.0 present on the classpath?

Specific part of the config:

<service name="connectionresponsehandler"> 
    <inbound> 
        <inbound-endpoint ref="CONNECTION_RESPONSE_HANDLER" synchronous="false"/> 
    </inbound> 
    <component> 
        <spring-object bean="connectionResponseHandler"/> 
    </component> 
    <outbound> 
         <recipient-list-router evaluator="jxpath" expression="'udp://' + message.host + ':' + message.port"/> 
     </outbound> 
 </service>


 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Sachin added a comment - 29/Jul/08 03:32 AM
Sorry for the mess-up in the description.

Here is the content:

I tried <recipient-list-router> which is valid as per the mule.xsd but i get the following exception:

Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: The element 'recipient-list-router' does not have an associated Bean Definition Parser. Is the module or transport associated with http://www.mulesource.org/schema/mule/core/2.0 present on the classpath?

Specific part of the config config:

<service name="connectionresponsehandler">
<inbound>
<inbound-endpoint ref="CONNECTION_RESPONSE_HANDLER" synchronous="false"/>
</inbound>
<component>
<spring-object bean="connectionResponseHandler"/>
</component>
<outbound>
<recipient-list-router evaluator="jxpath" expression="'udp://' + message.host + ':' + message.port"/>
</outbound>
</service>


Ross Mason added a comment - 04/Sep/08 12:43 AM
This looks like a mistake in the schema/handler. it should be expression-recipient-list-router

Dan Diephouse added a comment - 30/Sep/08 09:45 AM
Am on crack? I don't see a recipient list router that uses expressions... Only the StaticRecipientListRouter.

Daniel Feist added a comment - 30/Sep/08 10:37 AM
I came across this issue a while back when someone on the mailing list had issues and never really fully understood what should be done because there is no other recipient list router apart from the static implementation and the static implementation does not support expressions.

I think we'll just have to get rid of the "recipient-list-router" in the schema for now and then hopefully introduce a "expression-recipient-list-router" at a later date i.e in 2.2.


Dan Diephouse added a comment - 30/Sep/08 01:00 PM
Ross just attached his previous patch for 3277 so this should theoretically be a quick fix.

Dan Diephouse added a comment - 30/Sep/08 03:52 PM