Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start WSO2 BAM server with default settings.
  2. Go to 'WSO2_BAM_HOME/samples/kpi-definition/' directory
  3. Type 'ant' with in the directory from the console(This publishes the events to BAM)

    Note that you can give custom values for parameters for Data receiver port numberURL, user name and password. Default values of them are as follows.

    ParameterDefault ValuePort
    7611URLtcp://localhost:7611
    User Nameadmin
    Passwordadmin

    Now lets see how new values can be given as parameters 

    ParameterNew ValuePort
    7612URLtcp://localhost:7612
    User Nameuser
    Passwordpass123

     Command with new values : ant ant -Dport=7612 Durl=tcp://localhost:7612 -Dusername=user -Dpassword=pass123

     

...