<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Truxton_etl_send_me_message</id>
	<title>Truxton etl send me message - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Truxton_etl_send_me_message"/>
	<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_etl_send_me_message&amp;action=history"/>
	<updated>2026-09-09T18:45:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://truxwiki.com/index.php?title=Truxton_etl_send_me_message&amp;diff=4938&amp;oldid=prev</id>
		<title>Sam: /* Sample */</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_etl_send_me_message&amp;diff=4938&amp;oldid=prev"/>
		<updated>2021-05-10T13:09:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Sample&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 13:09, 10 May 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot; &gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    // FOR TESTING PURPOSES ONLY!&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    // FOR TESTING PURPOSES ONLY!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    truxton_etl_send_me_message( app, message );&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    truxton_etl_send_me_message( app, message );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   truxton_message_destroy( message );&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    // Pause here until we get a message from the &amp;quot;SampleC&amp;quot; message queue&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    // Pause here until we get a message from the &amp;quot;SampleC&amp;quot; message queue&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
	<entry>
		<id>https://truxwiki.com/index.php?title=Truxton_etl_send_me_message&amp;diff=4937&amp;oldid=prev</id>
		<title>Sam: Created page with &quot;This is used during the development of your exploitation program. It is used when you want a very specific message to come into your queue. This is usually used when developin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_etl_send_me_message&amp;diff=4937&amp;oldid=prev"/>
		<updated>2021-05-10T13:07:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This is used during the development of your exploitation program. It is used when you want a very specific message to come into your queue. This is usually used when developin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is used during the development of your exploitation program.&lt;br /&gt;
It is used when you want a very specific message to come into your queue.&lt;br /&gt;
This is usually used when developing an ETL process that doesn't process files.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt;&lt;br /&gt;
void truxton_etl_send_me_message( uint64_t etl_handle, uint64_t message_handle );&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Parameters=&lt;br /&gt;
==&amp;lt;code&amp;gt;etl_handle&amp;lt;/code&amp;gt;==&lt;br /&gt;
The handle created by the [[truxton_etl_create]] call.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;message_handle&amp;lt;/code&amp;gt;==&lt;br /&gt;
A handle to a message.&lt;br /&gt;
This is usually created by calling [[truxton_message_create]].&lt;br /&gt;
&lt;br /&gt;
=Sample=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;TruxtonCAPI.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
void test( void )&lt;br /&gt;
{&lt;br /&gt;
   uint64_t app = truxton_etl_create();&lt;br /&gt;
&lt;br /&gt;
   truxton_etl_set_application_name( app, &amp;quot;Sample C ETL&amp;quot; );&lt;br /&gt;
   truxton_etl_set_depot_type_name( app, &amp;quot;custom&amp;quot; );&lt;br /&gt;
   truxton_etl_set_queue_name( app, &amp;quot;SampleC&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
   uint64_t message = truxton_message_create();&lt;br /&gt;
&lt;br /&gt;
   truxton_message_set_file_id( message_handle, &amp;quot;D61696E-7461-696E-4F70-74696D697A65&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
   // FOR TESTING PURPOSES ONLY!&lt;br /&gt;
   truxton_etl_send_me_message( app, message );&lt;br /&gt;
&lt;br /&gt;
   // Pause here until we get a message from the &amp;quot;SampleC&amp;quot; message queue&lt;br /&gt;
   message = truxton_etl_get_message( app );&lt;br /&gt;
&lt;br /&gt;
   while( message != 0 )&lt;br /&gt;
   {&lt;br /&gt;
      // Do something with the message&lt;br /&gt;
&lt;br /&gt;
      memset( file_id, 0x00, sizeof( file_id ) );&lt;br /&gt;
      truxton_message_get_file_id( message, file_id, sizeof( file_id ) );&lt;br /&gt;
&lt;br /&gt;
      printf( &amp;quot;Received file id %s\n&amp;quot;, file_id );&lt;br /&gt;
&lt;br /&gt;
      truxton_message_destroy( message );&lt;br /&gt;
&lt;br /&gt;
      // Pause here until we get another message from the &amp;quot;SampleC&amp;quot; message queue&lt;br /&gt;
      message = truxton_etl_get_message( app );&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
   truxton_etl_destroy( app );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
</feed>