[jira] Created: (CAMEL-1181) Add test case and document to this new feature

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-1181) Add test case and document to this new feature

JIRA jira@apache.org
Add test case and document to this new feature
----------------------------------------------

                 Key: CAMEL-1181
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1181
             Project: Apache Camel
          Issue Type: Sub-task
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.0.0




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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1181) Add test case and document to this new feature

JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48052#action_48052 ]

Willem Jiang commented on CAMEL-1181:
-------------------------------------

Here is DSL code example
{code}
                from("direct:inOnly").inOut().to("mock:result");
               
                from("direct:inOut").setExchangePattern(ExchangePattern.InOnly).to("mock:result");
               
                from("direct:inOut1").to("mock:result", ExchangePattern.RobustInOnly);
               
                from("direct:inOut2").inOnly("mock:result");
{code}

Here is the Spring configuration
{code}
 <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring">
    <route>
      <from uri="direct:inOnly"/>
      <setExchangePattern pattern="InOut"/>      
      <to uri="mock:result"/>      
    </route>

    <route>
      <from uri="direct:inOut"/>
      <setExchangePattern pattern="InOnly"/>
      <to uri="mock:result"/>
    </route>
   
    <route>
      <from uri="direct:inOut1"/>
      <to uri="mock:result" pattern="RobustInOnly"/>
    </route>
   
    <route>
      <from uri="direct:inOut2"/>
      <inOnly uri="mock:result"/>
    </route>
   </camelContext>
{code}

> Add test case and document to this new feature
> ----------------------------------------------
>
>                 Key: CAMEL-1181
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1181
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1181) Add test case and document to this new feature

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48053#action_48053 ]

Willem Jiang commented on CAMEL-1181:
-------------------------------------

Updated the document of
 http://cwiki.apache.org/confluence/display/CAMEL/Request+Reply

> Add test case and document to this new feature
> ----------------------------------------------
>
>                 Key: CAMEL-1181
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1181
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1181) Add test case and document to this new feature

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48058#action_48058 ]

James Strachan commented on CAMEL-1181:
---------------------------------------

I added a brief bit of documentation to the InOnly page too http://cwiki.apache.org/CAMEL/event-message.html

> Add test case and document to this new feature
> ----------------------------------------------
>
>                 Key: CAMEL-1181
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1181
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-1181) Add test case and document to this new feature

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

James Strachan resolved CAMEL-1181.
-----------------------------------

    Resolution: Fixed

I've added a few more test cases so we're pretty much covered for the various permutations

> Add test case and document to this new feature
> ----------------------------------------------
>
>                 Key: CAMEL-1181
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1181
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>


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