def send(dest, msg, transactionid=None, content_type='<STR_LIT>'):
transheader = '<STR_LIT>'<EOL>if transactionid:<EOL><INDENT>transheader = '<STR_LIT>' % transactionid<EOL><DEDENT>return "<STR_LIT>" % (<EOL>dest, content_type, transheader, msg)<EOL>
STOMP send command.

    dest:
        This is the channel we wish to subscribe to

    msg:
        This is the message body to be sent.

    transactionid:
        This is an optional field and is not needed
        by default.