You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2008/03/15 18:11:32 UTC

[jira] Updated: (CAMEL-383) Exchange.getOut() not returning (blocking till timeout) when ExchangePattern.InOut used as well as message headers and exchange properties not passed when a Camel Mina used.

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

Claus Ibsen updated CAMEL-383:
------------------------------

    Attachment: camel_383_patch.txt

A patch with the following changes:
- copyright headers for missing files
- removed an unused import
- new feature to transfer exchange objects using TCP protocol (transferExchange=true) see MinaTransferExchangeOptionTest how to use it

The new feature only works for the TCP protocol and for the default codec (= object). So do not use textline=true as option.

> Exchange.getOut() not returning (blocking till timeout) when ExchangePattern.InOut used as well as message headers and exchange properties not passed when a Camel Mina used.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-383
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-383
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-mina
>    Affects Versions: 1.2.0
>         Environment: Windows
>            Reporter: Georgios Georgiadis
>             Fix For: 1.3.0
>
>         Attachments: camel_383_patch.txt, mina.zip, MinaTcpExchangeTest.java
>
>
> Exchange.getOut() not returning (blocking till timeout) when ExchangePattern.InOut used. Additionally, message properties and exchange headers does not seem to be passed when using MINA TCP communication. In direct pojo or bean, everything seems working.
> I have attached the classes needed to resolve the issue. No modifications are made to interfaces (method signatures). Classes affected are:
> org/apache/camel/component/mina/MinaEndpoint.java
> org/apache/camel/component/mina/MinaProducer.java
> org/apache/camel/component/mina/MinaConsumer.java
> new class introduced:
> org/apache/camel/component/mina/MinaTransportObject.java
> Junit test attached:
> org\apache\camel\component\mina\MinaTcpExchangeTest.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.