[
https://issues.apache.org/jira/browse/SYNAPSE-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hiranya Jayathilaka resolved SYNAPSE-493.
-----------------------------------------
Resolution: Fixed
This doesn't seem to be making any headway at Sandesha/Transprts front. Since
the patch is already applied to Synapse, I'm going to mark this as resolved. If
and when the relevant code changes in Sandesha, we can revisit this.
> Synapse sets the HttpCoreRequestResponseTransport status value to INITIAL
> -------------------------------------------------------------------------
>
> Key: SYNAPSE-493
> URL: https://issues.apache.org/jira/browse/SYNAPSE-493
> Project: Synapse
> Issue Type: Bug
> Reporter: Amila Chinthaka Suriarachchi
> Assignee: Ruwan Linton
> Attachments: patch.txt
>
>
> ServletRequestResponseTransport and SimpleHTTPRequestResponseTranspor set
> this value to WAITING.
> This gives a problem with sandesah2. Sandesha2 has this code.
> if((toEPR==null || toEPR.hasAnonymousAddress()) &&
> (makeConnection == null ||
> !makeConnection.booleanValue()) &&
> (t == null ||
> !t.getStatus().equals(RequestResponseTransportStatus.WAITING))) {
>
> // Mark this sender bean so that we know that
> the transport is unavailable, if the
> // bean is still stored.
> SenderBean bean =
> senderBeanMgr.retrieve(senderBean.getMessageID());
> if(bean != null && bean.isTransportAvailable())
> {
> bean.setTransportAvailable(false);
> senderBeanMgr.update(bean);
> }
>
> // Commit the update
> if(transaction != null &&
> transaction.isActive()) transaction.commit();
> transaction = null;
>
> if (log.isDebugEnabled())
> log.debug("Exit: SenderWorker::run, no
> response transport for anonymous message");
> return;
> }
> it does not send the response back if the status of the
> RequestResponseTransport is WAITING.
> Setting this initial value to WAITING makes the Sandesha2 works with the
> synapse.
> is it possible to change this initial value to WAITING?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]