made receive and onReceive final in Producer
This commit is contained in:
parent
6ba8d39e06
commit
9ac24ee4d7
2 changed files with 3 additions and 3 deletions
|
|
@ -125,10 +125,10 @@ trait ProducerSupport extends CamelSupport { this: Actor ⇒
|
|||
trait Producer extends ProducerSupport { this: Actor ⇒
|
||||
|
||||
/**
|
||||
* Default implementation of Actor.receive. Any messages received by this actors
|
||||
* Implementation of Actor.receive. Any messages received by this actor
|
||||
* will be produced to the endpoint specified by <code>endpointUri</code>.
|
||||
*/
|
||||
def receive: Actor.Receive = produce
|
||||
final def receive: Actor.Receive = produce
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ abstract class UntypedProducerActor extends UntypedActor with ProducerSupport {
|
|||
/**
|
||||
* Default implementation of UntypedActor.onReceive
|
||||
*/
|
||||
def onReceive(message: Any): Unit = produce(message)
|
||||
final def onReceive(message: Any): Unit = produce(message)
|
||||
|
||||
/**
|
||||
* Returns the Camel endpoint URI to produce messages to.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue