I'm looking to configure Ruby and SWIG to use an alternate ruby socket for the AMQP connection. To collect the outgoing message at the C level it a combination of pn_transport_head (pointer) and pn_transport_pending(size). However to use with Ruby via SWIG the pn_transport_head is wrapped using a "SWIG_FromCharPtr" which doesn't use a size but truncates the message on the first null and thereby corrupts the message. How can I configure SWIG to use SWIG_FromCharPtrAndSize?
-- View this message in context: http://qpid.2158936.n2.nabble.com/SWIG-Ruby-extracting-messages-from-the-transport-head-tp7624373.html Sent from the Apache Qpid developers mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
