|build a module that receives a Json message||masque130154||7/30/12 6:42 AM|
I want to develop one module that receives Json like input and displays a message.
this is , the source code of the module
and this is the code source of the sender for testing:
I do not understand why the message "I received the json message" is not displayed.
Can you help me?
|Re: build a module that receives a Json message||Tim Fox||7/30/12 10:41 AM|
Deploying of modules is asynchronous, so you are probably sending the message before your receiver module has started.
You can specify a callback to be called when the module is started, see the documentation for more information.
|Re: build a module that receives a Json message||masque130154||7/31/12 7:13 AM|
I understand what do you mean but I didn't find the part in the documentation that talks about that, can you help me? "Java"
Le lundi 30 juillet 2012 19:41:23 UTC+2, Tim Fox a écrit :
|Re: build a module that receives a Json message||T.J. Crowder||7/31/12 7:50 AM|
Your pastes seem to be gone (pastebin says the IDs are unknown), so I couldn't look at your code to see what you were doing, but this should be the relevant API call:
http://vertx.io/api/java/api/org/vertx/java/deploy/Container.html#deployModule(java.lang.String, org.vertx.java.core.json.JsonObject, int, org.vertx.java.core.Handler)
Note the `doneHandler`. If you're using one of the other methods (deployVerticle, deployWorkerVerticle), there are variants of those with a `doneHandler` as well.
Independent Software Engineer
tj / crowder software / com
www / crowder software / com
|Re: build a module that receives a Json message||Tim Fox||7/31/12 7:57 AM|
Ok, I'll be your secretary. Just this once though ;)
|Re: build a module that receives a Json message||masque130154||7/31/12 8:42 AM|
|Re: [vertx:2708] Re: build a module that receives a Json message||Tim Fox||7/31/12 8:46 AM|
Why are you posting your code again?
If you can't work out what you need to do given all the documentation
that we have supplied, I'm not sure I can help you any further.
> Le mardi 31 juillet 2012 16:57:03 UTC+2, Tim Fox a �crit :
>> Le lundi 30 juillet 2012 19:41:23 UTC+2, Tim Fox a �crit :
> You received this message because you are subscribed to the Google
> Groups "vert.x" group.
> To view this discussion on the web, visit
> To post to this group, send an email to ve...@googlegroups.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at
Vert.x - effortless polyglot asynchronous application development