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

  • Home
  • SEARCH
  • 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 7721115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:50:34+00:00 2026-06-01T03:50:34+00:00

I have an outgoing http endpoint in Mule 3.2.1. As a response to my

  • 0

I have an outgoing http endpoint in Mule 3.2.1. As a response to my initial request the http server responds with the Set-Cookie header and Mule dutifully stores this cookie and uses it on the following requests.
My problem comes when the session associated with this cookie times out.
Then, the server replies something like “error, session timed out” on requests.
My clients then receive an error because of this.

My question is, do you see a a way to work around this issue, or make Mule stop sending the Cookie: header? I’m thinking I could maybe add something to the outgoing http request to make it not use cookies afterall. I’m able to add header to the request before it is sent, but I’ve not found a way in the documentation to remove headers that Mule adds automatically.
If there is a way I can make Mule repeat the http request when the body of the response contains “session timed out”, that would be smashing 🙂

Some details:

In previous versions of Mule there was a “enableCookies” property you could set. In this version of Mule that property causes an error when used. The xml parser reads the mule config xml on startup and bails when the property is set, even though the property is still mentioned in the code.

Also, it seems that Mule-BUG 5937 causes cookies expire date to be ignored, and that Mule-bug 5195 ignores the “enableCookies” property. It seems that I must patch and fix at least three Mule-issues to make this work. I’m not convinced it would work even after those changes and I’m strapped for time. Switching to an older Mule-version would require a lot of changes, I fear, as I use some new 3.2-constructs.

Of course, another way to fix the problem is to make the http server stop sending the “Set-Cookie:” header, but it’s owned by another company and not easy to change quickly.

  • 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-01T03:50:35+00:00Added an answer on June 1, 2026 at 3:50 am

    Replying to my own question here..
    This is one way to solve it, override the cookies Mule is using.
    I set this on the outbound http endpoint:

    <properties>
        <spring:entry key="cookies">
            <spring:map>
                <spring:entry key="SMSESSION" value="" />
            </spring:map>
        </spring:entry>
    </properties>
    

    This overrides the SMSSESSION cookie, which was causing trouble in my case.

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

Sidebar

Related Questions

I have a server running openvpn for outgoing connections. However, once I start openvpn,
I have Charles Proxy set up to look at outgoing https requests, and I
GAE supports both incoming and outgoing emails: http://code.google.com/appengine/docs/python/mail/ Have any open source email clients
I have an ASP.NET http module that adds a Response Filter and does some
I'm attempting to set the content-length of my outgoing response headers but my code
In my application I have apply new outgoing call receiver. It is working fine.
I have a number of outgoing links on my webpage that I want to
I have an application in which i bound a socket to an outgoing interface
I have a servlet that needs a call like http://localhost:8080?a=1&a=3&a=2&b=5 . The thing is
i have written an application that needs to process outgoing calls. Everything works fine,

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.