Class MessagingExample
- java.lang.Object
-
- org.apache.ignite.examples.messaging.MessagingExample
-
public final class MessagingExample extends java.lang.ObjectExample that demonstrates how to exchange messages between nodes. Use such functionality for cases when you need to communicate to other nodes outside of ignite task.To run this example you must have at least one remote node started.
Remote nodes should always be started with special configuration file which enables P2P class loading:
'ignite.{sh|bat} examples/config/example-ignite.xml'.Alternatively you can run
ExampleNodeStartupin another JVM which will start node withexamples/config/example-ignite.xmlconfiguration.
-
-
Constructor Summary
Constructors Constructor Description MessagingExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Executes example.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionExecutes example.- Parameters:
args- Command line arguments, none required.- Throws:
IgniteException- If example execution failed.java.lang.Exception
-
-