Differences

This shows you the differences between two versions of the page.

Link to this comparison view

irc:1431122400 [2017/05/27 13:44] (current)
Line 1: Line 1:
 +
 +
 +[10:44:17] <​gigo1980____>​ hi is it vert.x posible to register some classes as services ?
 +
 +[10:47:29] <​AlexLehm>​ you can deploy verticles that provide services via the event bus
 +
 +[12:35:21] <​gigo1980____>​ i have a second question, i have a push event like "​eb.publish("​my_event_name",​ new MyObject())
 +
 +[12:35:45] <​gigo1980____>​ but it might have problem with pojo
 +
 +[12:37:35] <​gigo1980____>​ ok i think i got it
 +
 +[12:40:41] <​gigo1980____>​ http://​vert-x3.github.io/​docs/​vertx-core/​java/#​_the_event_bus_api ​ <-- under "​Message Codecs"​ there is a "​myCodec"​ object defined, but what should be inside this myCodec Object
 +
 +[12:44:33] <​gigo1980____>​ so as i understand i have to define each time an object that is a simple string type
 +
 +[14:34:13] <​AlexLehm>​ you can use primitive types and json
 +
 +[14:34:39] <​AlexLehm>​ for other objects you have to provide a json serializer
 +
 +[14:35:01] <​AlexLehm>​ or you can use DataObject and create a service interface
 +
 +[16:58:50] <​AlexLehm>​ purplefox, Hi Tim, I missed your last few mails
 +
 +[16:59:12] <​AlexLehm>​ the idea was as follows
 +
 +[17:03:37] <​AlexLehm>​ the pr for refactorings was based on a previous branch point, so I merged that into a new branch based on the current master
 +
 +[17:03:50] <​AlexLehm>​ then i added a few comments and text corrects and merged that branch into master