class MyConsumer1 extends Consumer {
def endpointUri = "some protocol string"
def receive = {
case msg: CamelMessage ⇒ // processing msg
}
}
MyConsumer1 is a general form of camel consumer.
Questions: Is msg in receive() de-queued first before invokeing or after receive()? how does the endpoint protocol and autoAck influence the dequeue behavior?