You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Norman Maurer (JIRA)" <ji...@apache.org> on 2010/10/06 16:10:40 UTC

[jira] Created: (CAMEL-3202) Add Exchange creation time to the exchange as property

Add Exchange creation time to the exchange as property
------------------------------------------------------

                 Key: CAMEL-3202
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3202
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Norman Maurer


Sometimes it would be really nice to access the exchange creation time from a processor. This can be of use for many tasks, like statistics etc.

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


[jira] Updated: (CAMEL-3202) Add Exchange creation time to the exchange as property

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-3202:
-------------------------------

             Priority: Minor  (was: Major)
    Affects Version/s: 2.4.0
        Fix Version/s: 2.6.0

> Add Exchange creation time to the exchange as property
> ------------------------------------------------------
>
>                 Key: CAMEL-3202
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3202
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Norman Maurer
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> Sometimes it would be really nice to access the exchange creation time from a processor. This can be of use for many tasks, like statistics etc.

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


[jira] Commented: (CAMEL-3202) Add Exchange creation time to the exchange as property

Posted by "Johan Edstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62568#action_62568 ] 

Johan Edstrom commented on CAMEL-3202:
--------------------------------------

Would a simple field like currentTimeMillis suffice?

> Add Exchange creation time to the exchange as property
> ------------------------------------------------------
>
>                 Key: CAMEL-3202
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3202
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Norman Maurer
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> Sometimes it would be really nice to access the exchange creation time from a processor. This can be of use for many tasks, like statistics etc.

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


[jira] Commented: (CAMEL-3202) Add Exchange creation time to the exchange as property

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62595#action_62595 ] 

Claus Ibsen commented on CAMEL-3202:
------------------------------------

Yeah its about adding a time as either a long based on current time millis or a Date object as new Date().

But the trick is to let the Camel routing engine enrich it on the Exchange.

> Add Exchange creation time to the exchange as property
> ------------------------------------------------------
>
>                 Key: CAMEL-3202
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3202
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Norman Maurer
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> Sometimes it would be really nice to access the exchange creation time from a processor. This can be of use for many tasks, like statistics etc.

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