How to add Custom Inbound and Outbound Channel apart from RabbitMq, Kafka and JSM

We have custom message broker and need to use for inbound and outbound channel in flowable.

Right now there is support for inbound and outbound channel in flowable ex. kafka, RabbitMQ and JMS etc.

How to implement custom inbound and outbound channel?