org.apache.camel.example.server
Class Treble

java.lang.Object
  extended by org.apache.camel.example.server.Treble
All Implemented Interfaces:
Multiplier

@Service(value="multiplier")
public class Treble
extends Object
implements Multiplier

This is the implementation of the business service.


Constructor Summary
Treble()
           
 
Method Summary
 int multiply(int originalNumber)
          Multiplies the given number by a pre-defined constant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Treble

public Treble()
Method Detail

multiply

public int multiply(int originalNumber)
Description copied from interface: Multiplier
Multiplies the given number by a pre-defined constant.

Specified by:
multiply in interface Multiplier
Parameters:
originalNumber - The number to be multiplied
Returns:
The result of the multiplication


Apache CAMEL