nd4j-serde/nd4j-camel-routes/nd4j-kafka/src/main/java/org/nd4j/camel/kafka/Nd4jKafkaConsumer.java
public INDArray receive() {
        if (consumerTemplate == null)
            consumerTemplate = camelContext.createConsumerTemplate();
        return consumerTemplate.receiveBody("direct:receive", INDArray.class);
    }
public INDArray receive() {
        if (consumerTemplate == null)
            consumerTemplate = camelContext.createConsumerTemplate();
        return consumerTemplate.receiveBody("direct:receive", INDArray.class);
    }
public INDArray receive ( ) { if ( consumerTemplate == null ) consumerTemplate = camelContext . createConsumerTemplate ( ) ; return consumerTemplate . receiveBody ( "direct:receive" , INDArray . class ) ; }
Receive an ndarray
@return
Receive an ndarray