I have a very simple flow as below:
QUEUE ---> DATAMAPPER----> Consume Service(HTTP) ---> Logger( #[payload], #[message.inboundPropeties.['http.status']].
The queue will have multiple messages. Once I started the mule server, the first few messages get a successful response( status code 200).
After all, I'm getting the below error with 'statusCode' '400'. Does anyone have an idea on how to resolve the issue
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Size of a request header field exceeds server limit.<br />
<pre>
X-MULE_SESSION
</pre>
</p>
</body></html>
I have referred to this url: Bad Request, Your browser sent a request that this server could not understand. I believe that some cookies has to be removed. I'm not sure on how can I do from Mule end.
Any help will be appreciated. Thanks in advance.