コード例 #1
0
 private AsyncCallback getAsyncCallback(ChannelHandlerContext ctx) {
   NettyCamelState state = producer.getState(ctx.getChannel());
   return state != null ? state.getCallback() : null;
 }
コード例 #2
0
 private Exchange getExchange(ChannelHandlerContext ctx) {
   NettyCamelState state = producer.getState(ctx.getChannel());
   return state != null ? state.getExchange() : null;
 }