Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8186847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:21:48+00:00 2026-06-07T02:21:48+00:00

In mule flow I need to compare the last two params from an input

  • 0

In mule flow I need to compare the last two params from an input string message

2012-04-30,2012-05-30,1,5

And if param1(1) <= param2(5), I need perform jms:outbound-endpoint.

Is there a standard choice element to do it? Could you please provide example.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:21:49+00:00Added an answer on June 7, 2026 at 2:21 am

    While using mule 3.2.x your best option is to use the groovy evaluator and use a choice router that look like the following

     <when expression="#[groovy:payload.split(',')[2] &lt;= payload.split(',')[3] ]">
          <processor-chain>
              <jms:outbound-endpoint queue="out" doc:name="JMS"/>
          </processor-chain>
     </when>
    

    Otherwise if you are willing to upgrade to Mule 3.3.0 you can take advantage of the new Mule Expression Language that allows to do the same without the need of the groovy operator

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need some help with Mule 3 esb. I am reading a message from
In the following mule flow I'm using xpath to decide which queue the message
How can I pass parameters to external webservice via mule flow using CFX?
Using Mule 3.2.1, I want to pass a Mule Message or Mule Event to
I'm trying to get the FROM email address in Mule ESB. I'm getting the
I have a Flow in MULE like below : <flow name=MetaService> <http:inbound-endpoint address=http://localhost:8000/jcore/meta transformer-refs=HttpParams
I have a Flow in MULE which contains a HTTP inbound and component class
I am exposing a CXF service using Mule ESB and i need to pass
How does RabbitMQ compare to Mule, I am going to build an application using
I need to create a mule service that will POST data to a web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.