def enqueue(self, destination, frame):
session = meta.Session()<EOL>message_id = frame.headers.get('<STR_LIT>')<EOL>if not message_id:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>ins = model.frames_table.insert().values(<EOL>message_id=message_id, destination=destination, frame=frame)<EOL>session.execute(ins)<EOL>session.commit()<EOL>
Store message (frame) for specified destinationination.

@param destination: The destinationination queue name for this message (frame).
@type destination: C{str}

@param frame: The message (frame) to send to specified destinationination.
@type frame: C{stompclient.frame.Frame}