Hello,
Absolute beginner in the world of AMQP and Qpid here. I'm trying to set up a C application where the AMQP traffic takes place over a socket that is under control of the application, effectively using select() to wait for data and then having Qpid handle it. As I understand it, I need to use a "connection driver" for this, but I haven't been able to find any examples that show me how. I have looked at the C examples in the Qpid software distribution (particularly send.c and receive.c), and I'm beginning to see how things are started rolling after the PN_CONNECTION_INIT event comes in. Can I simply call pn_connection_driver_init at that point to create a connection driver? I assume the code as-is creates its own network connection, and I want to supply my own, so I assume I need to take something out too. But what? Can anyone tell me how to proceed? Are there examples that I simply haven't found yet? Or am I barking up entirely the wrong tree here? Any guidance would be appreciated. Groeten, Jacco
