[ 
https://issues.apache.org/jira/browse/CAMEL-5247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marek Strejczek updated CAMEL-5247:
-----------------------------------

    Attachment: CAMEL-5247.patch

Added:
CannotSendException

Modified:
QuickfixjConsumer
QuickfixjProducer
QuickfixjProducerTest
                
> Allow to send sync with quickfix, and detect send failures which should be 
> marked as exceptions
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5247
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5247
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-quickfix
>            Reporter: Claus Ibsen
>             Fix For: Future
>
>         Attachments: CAMEL-5247.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Handling-unsuccessful-Session-send-in-Quickfix-component-td5680836.html
> I think about the following solution: 
> replace in QuickfixjConsumer.sendOutMessage: 
> session.send(quickfixjMessage);
> with 
> if (! session.send(quickfixjMessage) ) {
>     throw new CannotSendException(); // any idea if some existing exception 
> would make sense here?
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to