266.6.2. fire events aka BLOCKS Event Handlers

호출할 수 있는 모든 유형의 서버리스 기능은 https://www.pubnub.com/blocks-catalog/ 에서 참조하십시오. geolocation lookup의 예

from("timer:geotimer")
    .process(exchange -> exchange.getIn().setBody(new Foo("bar", "TEXT")))
    .to("pubnub:eon-maps-geolocation-input?operation=fire&publishKey=mypubkey&subscribeKey=mysubkey");

from("pubnub:eon-map-geolocation-output?subscribeKey=mysubkey)
    // geolocation output will be logged here
    .log("${body}");