public INDArray receive ( ) { if ( consumerTemplate == null ) consumerTemplate = camelContext . createConsumerTemplate ( ) ; return consumerTemplate . receiveBody ( "direct:receive" , INDArray . class ) ; }
Receive an ndarray