... | ... | @@ -112,7 +112,7 @@ public class SubscriberApplication { |
|
|
}
|
|
|
```
|
|
|
|
|
|
You can notice the call to *start()* with the "pubcpp" name that is not already defined. It will done in the configuration file. Indeed define the code is not enough to run CAMEO applications. We need to configure a Cameo server.
|
|
|
You can notice the call to *start()* with the "pubcpp" name that is not already defined. It will done in the configuration file. Indeed define the code is not enough to run CAMEO applications. We need to configure a CAMEO server.
|
|
|
|
|
|
# Configuration
|
|
|
Here is a possible configuration file *config.xml*:
|
... | ... | @@ -140,7 +140,7 @@ First we must start the CAMEO server. This can be done directly in a shell: |
|
|
$ cameo-server config.xml --log-console
|
|
|
```
|
|
|
|
|
|
Now we have to execute the *subpubjava* application as it is the entry point. That can be done by using the CAMEO console on the machine that runs the Cameo server:
|
|
|
Now we have to execute the *subpubjava* application as it is the entry point. That can be done by using the CAMEO console on the machine that runs the CAMEO server:
|
|
|
|
|
|
```
|
|
|
$ cmo exec subpubjava
|
... | ... | |