Regarding the startTimestamp and using the ESB Message dob (entry time).
This can be done by declaring the Message as an event:
| import org.jboss.internal.soa.esb.message.format.serialized.MessageImpl
|
| declare MessageImpl
| @role( event )
| @timestamp( properties.getProperty("org.jboss.soa.esb.message.time.dob")
)
| end
|
Notice that we are specifying the concrete implementation and not the interface Message.
I've not been able to get this to work by specifying the Message interface but will
try to find out if that is possible.
Users can use the same approach as above to set the startTimeStamp. This can be done by
setting a property on the ESB Message object and use that property name instead of
"org.jboss.soa.esb.message.time.dob" above.
To find out the value of the Events startTimestamp we've added a log statement at
debug level:
| Event :org.jboss.internal.soa.esb.message.format.serialized.MessageImpl,
startTimeStamp: 1246454582714
|
Any thoughts on this?
Thanks,
/Daniel
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241201#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...