<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>MsmqJava</title><link>http://msmqjava.codeplex.com/Project/ProjectRss.aspx</link><description>This is a JNI library  for MSMQ.  It allows Java applications to connect to MSMQ on Windows.  </description><item><title>Commented Issue: Makefile with 64 bit support [5470]</title><link>http://msmqjava.codeplex.com/WorkItem/View.aspx?WorkItemId=5470</link><description>Unless having knowledge about JNI, C&amp;#43;&amp;#43; and Java, then it can be difficult to setup Microsoft SDK properly.&lt;br /&gt;&lt;br /&gt;To setup an environment for compiling the DLL&amp;#58;&lt;br /&gt;&lt;br /&gt;1&amp;#41; Install Microsoft Vista SDK and ensure that x64 compiler and library is selected &amp;#40;Unselect documentation and samples&amp;#41;&lt;br /&gt; - Have tried using Win2008 SDK and Win7 SDK but the SetEnv.cmd is faulty &amp;#40;Fails to set LIB-path and PATH environment variables properly&amp;#41;&lt;br /&gt;2&amp;#41; Install Sun JDK &amp;#40;I used Sun JDK 1.6 14&amp;#41;&lt;br /&gt;3&amp;#41; Modify the makefile so it points to SDK and JDK&lt;br /&gt;   JAVADIR &amp;#61; &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Java&amp;#92;jdk1.6.0_14&amp;#34;&lt;br /&gt;   VC &amp;#61;  &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;VC&amp;#34;&lt;br /&gt;   PSDKDIR &amp;#61; &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#34;&lt;br /&gt;&lt;br /&gt;To compile the 32 bit dll&amp;#58;&lt;br /&gt;1&amp;#41; Open a command prompt&lt;br /&gt;2&amp;#41; Setup the VC environment by running this command&lt;br /&gt;&amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;Bin&amp;#92;SetEnv.Cmd&amp;#34; &amp;#47;Release &amp;#47;x86 &amp;#47;xp&lt;br /&gt;3&amp;#41; Go to the Msmqjava source code &amp;#40;where the makefile resides&amp;#41;, and run this command&lt;br /&gt;nmake&lt;br /&gt;&lt;br /&gt;To compile a 64 bit dll, then we need to modify the makefile, so it becomes aware of what environment we are targetting. I have attached a makefile, that checks the environment variable CPU and sets the compiler and library accordinly. Use this makefile instead of the one supplied with MsmqJava.&lt;br /&gt;&lt;br /&gt;To compile the 64 bit dll &amp;#40;After having updated to the new makefile&amp;#41;&amp;#58;&lt;br /&gt;1&amp;#41; Open a command prompt&lt;br /&gt;2&amp;#41; Setup the VC environment by running this command &amp;#40;Notice x64&amp;#41;&lt;br /&gt;&amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;Bin&amp;#92;SetEnv.Cmd&amp;#34; &amp;#47;Release &amp;#47;x64 &amp;#47;xp&lt;br /&gt;3&amp;#41; Go to the Msmqjava source code &amp;#40;where the makefile resides&amp;#41;, and run this command&lt;br /&gt;nmake&lt;br /&gt;Comments: ** Comment from web user: mnuni ** &lt;p&gt;Hi, I tried the above &amp;#40;using cmd.exe &amp;#47;E&amp;#58;ON &amp;#47;V&amp;#58;ON&amp;#41; and that worked using SDK for Win2008. i.e. nmake produced no errors. However there is no JNIMSMQ.dll created as part of the build. I&amp;#39;m new to nmake and .NET and need a 64 bit version of the dll to call from a 64bit JVM. Which part of the makefile produces the dll&amp;#63; Would anyone have a 64bit dll that they could share&amp;#63; Many thanks.&lt;/p&gt;</description><author>mnuni</author><pubDate>Mon, 15 Feb 2010 20:38:23 GMT</pubDate><guid isPermaLink="false">Commented Issue: Makefile with 64 bit support [5470] 20100215083823P</guid></item><item><title>New Post: Maybe consider wrapping the COM+ interface of MSMQ</title><link>http://msmqjava.codeplex.com/Thread/View.aspx?ThreadId=82495</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Instead of implementing custom JNI code, then one might consider generating java-classes from the MSMQ COM+ Interface (mqoa.&lt;em&gt;dll)&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;There exist code generators that can take a COM+ dll and generate java-wrappers code:&lt;/p&gt;
&lt;p&gt;http://sourceforge.net/projects/jacob-project/ (See JacobGen)&lt;/p&gt;
&lt;p&gt;http://www.j-interop.org/index.html&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>snakefoot</author><pubDate>Sat, 30 Jan 2010 00:19:47 GMT</pubDate><guid isPermaLink="false">New Post: Maybe consider wrapping the COM+ interface of MSMQ 20100130121947A</guid></item><item><title>New Post: Setting Message Properties</title><link>http://msmqjava.codeplex.com/Thread/View.aspx?ThreadId=74483</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Don't know about the options to set Message's properties in MsmqJava.&lt;/p&gt;
&lt;p&gt;But correlation ID allows one to give an &amp;quot;external id&amp;quot; to the MSMQ message. This can be useful if sending a request-message, and expect to get a reply-message, then by using the correlation ID it is possible to match the reply with the original request-message. It requires that the receiver of the request-message&amp;nbsp;puts the correlation ID on the reply-message.&lt;/p&gt;&lt;/div&gt;</description><author>snakefoot</author><pubDate>Tue, 19 Jan 2010 16:39:06 GMT</pubDate><guid isPermaLink="false">New Post: Setting Message Properties 20100119043906P</guid></item><item><title>New Post: Messages with different Charsets</title><link>http://msmqjava.codeplex.com/Thread/View.aspx?ThreadId=80396</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;It sounds like an encoding problem.&lt;/p&gt;
&lt;p&gt;Are you using MsmqJava at both ends?&amp;nbsp;&amp;nbsp; How do you send and receive the messages?&lt;/p&gt;&lt;/div&gt;</description><author>Cheeso</author><pubDate>Mon, 11 Jan 2010 18:48:05 GMT</pubDate><guid isPermaLink="false">New Post: Messages with different Charsets 20100111064805P</guid></item><item><title>New Post: Messages with different Charsets</title><link>http://msmqjava.codeplex.com/Thread/View.aspx?ThreadId=80396</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;hi all&lt;/p&gt;
&lt;p&gt;I'm creating a Message with characters incoded with &lt;strong&gt;UTF-8&lt;/strong&gt;. It contains charaters of differnet languages, not only english.&lt;/p&gt;
&lt;p&gt;The _message property on the Message object looks OK just before and after&amp;nbsp;send, but on the queue the message is broken.&lt;/p&gt;
&lt;p&gt;It does not happen when all characters in the message are plain english ones.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can see that in &lt;em&gt;MsmqQueueNativeMethods.cpp : Java_ionic_Msmq_Queue_nativeSend&lt;/em&gt; we're calling &lt;em&gt;jniEnv-&amp;gt;GetStringUTFChars(message, 0)&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;What exactly happen here? May the problem be here?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;I.&lt;/p&gt;&lt;/div&gt;</description><author>lateatnight</author><pubDate>Mon, 11 Jan 2010 09:52:13 GMT</pubDate><guid isPermaLink="false">New Post: Messages with different Charsets 20100111095213A</guid></item><item><title>Created Issue: Access violation when using send-only and receive-only queue-objects [6613]</title><link>http://msmqjava.codeplex.com/WorkItem/View.aspx?WorkItemId=6613</link><description>There is a limit of only 10 queue objects for one java application. This limit is introduced by a global container containing all queue-objects. It uses two entries in this container for each queue &amp;#40;send &amp;#43; receive&amp;#41;.&lt;br /&gt;&lt;br /&gt;The function to find the next free container-slot fails to handle the situation of using send-only and receive-only queue-objects&amp;#58;&lt;br /&gt;&lt;br /&gt;int GetNextFreeHandleSlot&amp;#40;&amp;#41; &lt;br /&gt;&amp;#123;&lt;br /&gt;    int i, selected&amp;#61;-1&amp;#59;&lt;br /&gt;    for &amp;#40;i&amp;#61;0&amp;#59; &amp;#40;i &amp;#60; MAX_QUEUES&amp;#41; &amp;#38;&amp;#38; &amp;#40;selected&amp;#61;&amp;#61;-1&amp;#41;&amp;#59; i&amp;#43;&amp;#43;&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;if &amp;#40;qhandles&amp;#91;i&amp;#42;2&amp;#93; &amp;#61;&amp;#61; NULL&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;    selected&amp;#61; i&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    return selected&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;The fixed version&amp;#58;&lt;br /&gt;&lt;br /&gt;int GetNextFreeHandleSlot&amp;#40;&amp;#41; &lt;br /&gt;&amp;#123;&lt;br /&gt;    int i, selected&amp;#61;-1&amp;#59;&lt;br /&gt;    for &amp;#40;i&amp;#61;0&amp;#59; &amp;#40;i &amp;#60; MAX_QUEUES&amp;#41; &amp;#38;&amp;#38; &amp;#40;selected&amp;#61;&amp;#61;-1&amp;#41;&amp;#59; i&amp;#43;&amp;#43;&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;if &amp;#40;qhandles&amp;#91;i&amp;#42;2&amp;#93; &amp;#61;&amp;#61; NULL &amp;#38;&amp;#38; qhandles&amp;#91;i&amp;#42;2&amp;#43;1&amp;#93; &amp;#61;&amp;#61; NULL&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;selected&amp;#61; i&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    return selected&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>snakefoot</author><pubDate>Mon, 14 Dec 2009 16:46:06 GMT</pubDate><guid isPermaLink="false">Created Issue: Access violation when using send-only and receive-only queue-objects [6613] 20091214044606P</guid></item><item><title>New Post: Setting Message Properties</title><link>http://msmqjava.codeplex.com/Thread/View.aspx?ThreadId=74483</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Is there a way to set a Message's properties?&lt;/p&gt;
&lt;p&gt;Also, I could not feagure what collationId means.&lt;/p&gt;&lt;/div&gt;</description><author>lateatnight</author><pubDate>Sun, 08 Nov 2009 22:07:10 GMT</pubDate><guid isPermaLink="false">New Post: Setting Message Properties 20091108100710P</guid></item><item><title>Commented Issue: Makefile with 64 bit support</title><link>http://msmqjava.codeplex.com/WorkItem/View.aspx?WorkItemId=5470</link><description>Unless having knowledge about JNI, C&amp;#43;&amp;#43; and Java, then it can be difficult to setup Microsoft SDK properly.&lt;br /&gt;&lt;br /&gt;To setup an environment for compiling the DLL&amp;#58;&lt;br /&gt;&lt;br /&gt;1&amp;#41; Install Microsoft Vista SDK and ensure that x64 compiler and library is selected &amp;#40;Unselect documentation and samples&amp;#41;&lt;br /&gt; - Have tried using Win2008 SDK and Win7 SDK but the SetEnv.cmd is faulty &amp;#40;Fails to set LIB-path and PATH environment variables properly&amp;#41;&lt;br /&gt;2&amp;#41; Install Sun JDK &amp;#40;I used Sun JDK 1.6 14&amp;#41;&lt;br /&gt;3&amp;#41; Modify the makefile so it points to SDK and JDK&lt;br /&gt;   JAVADIR &amp;#61; &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Java&amp;#92;jdk1.6.0_14&amp;#34;&lt;br /&gt;   VC &amp;#61;  &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;VC&amp;#34;&lt;br /&gt;   PSDKDIR &amp;#61; &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#34;&lt;br /&gt;&lt;br /&gt;To compile the 32 bit dll&amp;#58;&lt;br /&gt;1&amp;#41; Open a command prompt&lt;br /&gt;2&amp;#41; Setup the VC environment by running this command&lt;br /&gt;&amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;Bin&amp;#92;SetEnv.Cmd&amp;#34; &amp;#47;Release &amp;#47;x86 &amp;#47;xp&lt;br /&gt;3&amp;#41; Go to the Msmqjava source code &amp;#40;where the makefile resides&amp;#41;, and run this command&lt;br /&gt;nmake&lt;br /&gt;&lt;br /&gt;To compile a 64 bit dll, then we need to modify the makefile, so it becomes aware of what environment we are targetting. I have attached a makefile, that checks the environment variable CPU and sets the compiler and library accordinly. Use this makefile instead of the one supplied with MsmqJava.&lt;br /&gt;&lt;br /&gt;To compile the 64 bit dll &amp;#40;After having updated to the new makefile&amp;#41;&amp;#58;&lt;br /&gt;1&amp;#41; Open a command prompt&lt;br /&gt;2&amp;#41; Setup the VC environment by running this command &amp;#40;Notice x64&amp;#41;&lt;br /&gt;&amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;Bin&amp;#92;SetEnv.Cmd&amp;#34; &amp;#47;Release &amp;#47;x64 &amp;#47;xp&lt;br /&gt;3&amp;#41; Go to the Msmqjava source code &amp;#40;where the makefile resides&amp;#41;, and run this command&lt;br /&gt;nmake&lt;br /&gt;Comments: ** Comment from web user: snakefoot ** &lt;p&gt;Seems the reason why SetEnv.cmd on Win2008&amp;#47;Win7 SDK is not working is because it should either be launched with some extra parameters to properly execute SetEnv.cmd&amp;#58;&lt;/p&gt;&lt;p&gt;cmd.exe &amp;#47;E&amp;#58;ON &amp;#47;V&amp;#58;ON&lt;/p&gt;&lt;p&gt;The same parameters are used when using the shortcuts in the Start Menu created by the SDKs&lt;/p&gt;</description><author>snakefoot</author><pubDate>Thu, 27 Aug 2009 08:24:08 GMT</pubDate><guid isPermaLink="false">Commented Issue: Makefile with 64 bit support 20090827082408A</guid></item><item><title>Commented Issue: Makefile with 64 bit support</title><link>http://msmqjava.codeplex.com/WorkItem/View.aspx?WorkItemId=5470</link><description>Unless having knowledge about JNI, C&amp;#43;&amp;#43; and Java, then it can be difficult to setup Microsoft SDK properly.&lt;br /&gt;&lt;br /&gt;To setup an environment for compiling the DLL&amp;#58;&lt;br /&gt;&lt;br /&gt;1&amp;#41; Install Microsoft Vista SDK and ensure that x64 compiler and library is selected &amp;#40;Unselect documentation and samples&amp;#41;&lt;br /&gt; - Have tried using Win2008 SDK and Win7 SDK but the SetEnv.cmd is faulty &amp;#40;Fails to set LIB-path and PATH environment variables properly&amp;#41;&lt;br /&gt;2&amp;#41; Install Sun JDK &amp;#40;I used Sun JDK 1.6 14&amp;#41;&lt;br /&gt;3&amp;#41; Modify the makefile so it points to SDK and JDK&lt;br /&gt;   JAVADIR &amp;#61; &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Java&amp;#92;jdk1.6.0_14&amp;#34;&lt;br /&gt;   VC &amp;#61;  &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;VC&amp;#34;&lt;br /&gt;   PSDKDIR &amp;#61; &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#34;&lt;br /&gt;&lt;br /&gt;To compile the 32 bit dll&amp;#58;&lt;br /&gt;1&amp;#41; Open a command prompt&lt;br /&gt;2&amp;#41; Setup the VC environment by running this command&lt;br /&gt;&amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;Bin&amp;#92;SetEnv.Cmd&amp;#34; &amp;#47;Release &amp;#47;x86 &amp;#47;xp&lt;br /&gt;3&amp;#41; Go to the Msmqjava source code &amp;#40;where the makefile resides&amp;#41;, and run this command&lt;br /&gt;nmake&lt;br /&gt;&lt;br /&gt;To compile a 64 bit dll, then we need to modify the makefile, so it becomes aware of what environment we are targetting. I have attached a makefile, that checks the environment variable CPU and sets the compiler and library accordinly. Use this makefile instead of the one supplied with MsmqJava.&lt;br /&gt;&lt;br /&gt;To compile the 64 bit dll &amp;#40;After having updated to the new makefile&amp;#41;&amp;#58;&lt;br /&gt;1&amp;#41; Open a command prompt&lt;br /&gt;2&amp;#41; Setup the VC environment by running this command &amp;#40;Notice x64&amp;#41;&lt;br /&gt;&amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;Bin&amp;#92;SetEnv.Cmd&amp;#34; &amp;#47;Release &amp;#47;x64 &amp;#47;xp&lt;br /&gt;3&amp;#41; Go to the Msmqjava source code &amp;#40;where the makefile resides&amp;#41;, and run this command&lt;br /&gt;nmake&lt;br /&gt;Comments: ** Comment from web user: snakefoot ** &lt;p&gt;Btw. I have modifed the compiler options in the attached makefile, so it compiles with static libraries, so one avoids the need to deploy extra Microsoft DLLs. http&amp;#58;&amp;#47;&amp;#47;blogs.msdn.com&amp;#47;aymans&amp;#47;archive&amp;#47;2006&amp;#47;04&amp;#47;04&amp;#47;568466.aspx &lt;/p&gt;</description><author>snakefoot</author><pubDate>Tue, 25 Aug 2009 15:49:00 GMT</pubDate><guid isPermaLink="false">Commented Issue: Makefile with 64 bit support 20090825034900P</guid></item><item><title>Created Issue: Makefile with 64 bit support</title><link>http://msmqjava.codeplex.com/WorkItem/View.aspx?WorkItemId=5470</link><description>Unless having knowledge about JNI, C&amp;#43;&amp;#43; and Java, then it can be difficult to setup Microsoft SDK properly.&lt;br /&gt;&lt;br /&gt;To setup an environment for compiling the DLL&amp;#58;&lt;br /&gt;&lt;br /&gt;1&amp;#41; Install Microsoft Vista SDK and ensure that x64 compiler and library is selected &amp;#40;Unselect documentation and samples&amp;#41;&lt;br /&gt; - Have tried using Win2008 SDK and Win7 SDK but the SetEnv.cmd is faulty &amp;#40;Fails to set LIB-path and PATH environment variables properly&amp;#41;&lt;br /&gt;2&amp;#41; Install Sun JDK &amp;#40;I used Sun JDK 1.6 14&amp;#41;&lt;br /&gt;3&amp;#41; Modify the makefile so it points to SDK and JDK&lt;br /&gt;   JAVADIR &amp;#61; &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Java&amp;#92;jdk1.6.0_14&amp;#34;&lt;br /&gt;   VC &amp;#61;  &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;VC&amp;#34;&lt;br /&gt;   PSDKDIR &amp;#61; &amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#34;&lt;br /&gt;&lt;br /&gt;To compile the 32 bit dll&amp;#58;&lt;br /&gt;1&amp;#41; Open a command prompt&lt;br /&gt;2&amp;#41; Setup the VC environment by running this command&lt;br /&gt;&amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;Bin&amp;#92;SetEnv.Cmd&amp;#34; &amp;#47;Release &amp;#47;x86 &amp;#47;xp&lt;br /&gt;3&amp;#41; Go to the Msmqjava source code &amp;#40;where the makefile resides&amp;#41;, and run this command&lt;br /&gt;nmake&lt;br /&gt;&lt;br /&gt;To compile a 64 bit dll, then we need to modify the makefile, so it becomes aware of what environment we are targetting. I have attached a makefile, that checks the environment variable CPU and sets the compiler and library accordinly. Use this makefile instead of the one supplied with MsmqJava.&lt;br /&gt;&lt;br /&gt;To compile the 64 bit dll &amp;#40;After having updated to the new makefile&amp;#41;&amp;#58;&lt;br /&gt;1&amp;#41; Open a command prompt&lt;br /&gt;2&amp;#41; Setup the VC environment by running this command &amp;#40;Notice x64&amp;#41;&lt;br /&gt;&amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;Microsoft SDKs&amp;#92;Windows&amp;#92;v6.0&amp;#92;Bin&amp;#92;SetEnv.Cmd&amp;#34; &amp;#47;Release &amp;#47;x64 &amp;#47;xp&lt;br /&gt;3&amp;#41; Go to the Msmqjava source code &amp;#40;where the makefile resides&amp;#41;, and run this command&lt;br /&gt;nmake&lt;br /&gt;</description><author>snakefoot</author><pubDate>Tue, 25 Aug 2009 15:46:26 GMT</pubDate><guid isPermaLink="false">Created Issue: Makefile with 64 bit support 20090825034626P</guid></item><item><title>New Post: Transactional support</title><link>http://msmqjava.codeplex.com/Thread/View.aspx?ThreadId=62133</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I guess it will be near impossible to attach the MSQM-operations to a java-transaction.&lt;/p&gt;
&lt;p&gt;MSMQ has its own transaction manager. It can be started using MQBeginTransaction.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms699827(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms699827(VS.85).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I guess one&amp;nbsp;should create&amp;nbsp;a transaction manager-wrapper, that will handle commit/abort of the MQ-Transaction.&amp;nbsp;This will ensure that if exceptions are thrown after having started a MSMQ transaction, then it will automatically abort the transaction when the transaction manager is destroyed (Unless explicit commit was performed). No idea if this is possible in java garbage collection world.&lt;/p&gt;&lt;/div&gt;</description><author>snakefoot</author><pubDate>Tue, 25 Aug 2009 15:16:53 GMT</pubDate><guid isPermaLink="false">New Post: Transactional support 20090825031653P</guid></item><item><title>New Post: Transactional support</title><link>http://msmqjava.codeplex.com/Thread/View.aspx?ThreadId=62133</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I am not familiar with how to do transactions in C code on Windows.&lt;/p&gt;
&lt;p&gt;I'll need more than a little help implementing that feature.&lt;/p&gt;&lt;/div&gt;</description><author>Cheeso</author><pubDate>Tue, 11 Aug 2009 21:57:19 GMT</pubDate><guid isPermaLink="false">New Post: Transactional support 20090811095719P</guid></item><item><title>New Post: Transactional support</title><link>http://msmqjava.codeplex.com/Thread/View.aspx?ThreadId=62133</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;great project, I am very happy I found this project, it will save me alot of&lt;br&gt;time. One thing though, even though it partly supports transactional&lt;br&gt;queues, I really need an explicit commit and rollback method, instead&lt;br&gt;of an implicit one. I know it is possible in MSMQ. I hope you can find the&lt;br&gt;time to implement this. I can send you the C# code for it, if that helps.&lt;br&gt;&lt;br&gt;Best regards,&lt;br&gt;Michael&lt;/p&gt;&lt;/div&gt;</description><author>miridk</author><pubDate>Fri, 10 Jul 2009 16:25:55 GMT</pubDate><guid isPermaLink="false">New Post: Transactional support 20090710042555P</guid></item><item><title>New Post: Problem running native methods</title><link>http://www.codeplex.com/MsmqJava/Thread/View.aspx?ThreadId=29894</link><description>&lt;div style="line-height: normal;"&gt;I figured out that it stops proceeding right when it trys to load the &lt;em&gt;JNIMSMQ.dll&lt;/em&gt; file in the static initializer block in &lt;em&gt;Queue.java&lt;/em&gt;.&amp;nbsp; &lt;br&gt;
&lt;br&gt;
It must not successfully load the &lt;em&gt;dll&lt;/em&gt; file, but I do not receive any error or warning or anything.&amp;nbsp; I've also tried placing the &lt;em&gt;.dll&lt;/em&gt; file in all different locations, so I'm not sure why it isn't working. &lt;br&gt;
&lt;br&gt;
Edit:&lt;br&gt;
&lt;br&gt;
At first I could not get it to load the &lt;em&gt;.dll&lt;/em&gt; file, at least it would not hit any code after this statement.&amp;nbsp; However, using &lt;em&gt;System.load&lt;/em&gt; and the absolute path, I was able to hit code that was after the load &lt;em&gt;.dll&lt;/em&gt; statement.&amp;nbsp; However, it would not go past the &lt;em&gt;nativeInit()&lt;/em&gt; code even when running past the &lt;em&gt;System.load( )&lt;/em&gt; call.&amp;nbsp; &lt;br&gt;
&lt;br&gt;
It doesn't seem to be running these native calls properly, and I believe this is the source of the problem.. any suggestions?&amp;nbsp; Am I not properly including any of the files (I only have &lt;em&gt;Queue.java&lt;/em&gt;, &lt;em&gt;Message.java&lt;/em&gt;, &lt;em&gt;MessageQueueException.java&lt;/em&gt;, and &lt;em&gt;JNIMSMQ.dll &lt;/em&gt;in the project)?&amp;nbsp; I'm not sure where to put the C files or how to reference them.&lt;br&gt;
&lt;br&gt;
Since I changed the code do I have to create a new .dll file to reference the changed class files?&amp;nbsp; And if so, how can I do that?&amp;nbsp; I've tried making a new .dll library based off of tutorials I've seen online but none of the commands seem to be working (I'm working in windows).&lt;br&gt;
&lt;br&gt;
Thanks.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>csgordon</author><pubDate>Wed, 18 Jun 2008 20:08:56 GMT</pubDate><guid isPermaLink="false">New Post: Problem running native methods 20080618080856P</guid></item><item><title>New Post: Problem running native methods</title><link>http://www.codeplex.com/MsmqJava/Thread/View.aspx?ThreadId=29894</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
This is going to be pretty hard to explain but I figured I'd try anyway...&lt;br&gt;
&lt;br&gt;
Basically, I'm running some code that implements a listener (this is in java), and upon triggering this listener, I want the program to automatically Open an exisiting queue in MSMQ, and send a given message to that queue.&lt;br&gt;
&lt;br&gt;
I've&amp;nbsp;commented out&amp;nbsp;main in the TestClient.java MsmqJava code, and basically I run the Open and Send methods&amp;nbsp;(changed slightly) when this listener is triggered to acheive what I want.&amp;nbsp;&lt;br&gt;
&lt;br&gt;
Right now, when the program runs and the listener is triggered, the code gets to the Open method in the MsmqJava code, but when it reaches the &amp;quot;Msmq = new Queue(name);&amp;quot; line (where it actually sets the instance of Queue to the one given to open it), it seems to stop.&amp;nbsp; The program itself does not stop running, and there is no error given, and when the next listener is triggered it reapeats this process,&amp;nbsp;but it seems to be having trouble actually accessing the Queue.java code (since nothing after this code in the MSMQ side is hit.&amp;nbsp; No message is sent, the queue doesn't even seem to actually open).&amp;nbsp; Since I am using a separate application to link to this one, I have several different directories and I have a feeling that this is why it's not working.&amp;nbsp; Perhaps the Queue.java, etc., files are not being accessed properly or perhaps&amp;nbsp;the JNIMSMQ.dll file is not being found.&amp;nbsp; But I figured this would trigger its own error, and&amp;nbsp;everything compiles&amp;nbsp;and runs fine (up until this&amp;nbsp;problem).&amp;nbsp; &lt;br&gt;
&lt;br&gt;
&amp;nbsp; I know that I can't exactly describe the situation better than that but I was hoping maybe something would stand out and you'd be able to help.&lt;br&gt;
&lt;br&gt;
Thanks very much, I appreciate it.
&lt;/div&gt;</description><author>csgordon</author><pubDate>Wed, 18 Jun 2008 19:30:50 GMT</pubDate><guid isPermaLink="false">New Post: Problem running native methods 20080618073050P</guid></item><item><title>New Post: UnsatisfiedLinkError</title><link>http://www.codeplex.com/MsmqJava/Thread/View.aspx?ThreadId=29320</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;The latest release of the Apache ActiveMQ 5.1 now includes a JMS-to-MSMQ bridge that may be worth looking at too.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://issues.apache.org/activemq/browse/AMQ-438"&gt;https://issues.apache.org/activemq/browse/AMQ-438&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;a href="http://activemq.apache.org/"&gt;http://activemq.apache.org/&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;</description><author>intltechventures</author><pubDate>Wed, 11 Jun 2008 02:59:39 GMT</pubDate><guid isPermaLink="false">New Post: UnsatisfiedLinkError 20080611025939A</guid></item><item><title>New Post: UnsatisfiedLinkError</title><link>http://www.codeplex.com/MsmqJava/Thread/View.aspx?ThreadId=29320</link><description>&lt;div style="line-height: normal;"&gt;Try passing this parameter when you run the program (java -Djava.library.path=c:\yourpathtothedll&lt;br&gt;
&lt;br&gt;
You might also try downloading the zip file I posted in the patches area - and look at the modified bat files I included to see how to invoke the program.&amp;nbsp;
&lt;/div&gt;</description><author>intltechventures</author><pubDate>Wed, 11 Jun 2008 02:55:19 GMT</pubDate><guid isPermaLink="false">New Post: UnsatisfiedLinkError 20080611025519A</guid></item><item><title>NEW POST: UnsatisfiedLinkError</title><link>http://www.codeplex.com/MsmqJava/Thread/View.aspx?ThreadId=29320</link><description>&lt;div style="line-height: normal;"&gt;&lt;span style="font-size:12px"&gt;Hi, when running TestClient.java I'm getting an exception upon hitting ENTER to specify the location of the server as local (in other words, when opening a queue, i enter the name of the queue and then it prompts for the location and I hit enter and receive the following error)&lt;br&gt;
The exception is:&lt;br&gt;
&lt;br&gt;
&lt;span style="font-size:13px;color:#ff0000"&gt;
&lt;p align=left&gt;&lt;span style="font-size:11px"&gt;Exception in thread &amp;quot;main&amp;quot; java.lang.UnsatisfiedLinkError: no JNIMSMQ in java.library.path&lt;/span&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;span style="font-size:11px"&gt;at java.lang.ClassLoader.loadLibrary(Unknown Source)&lt;/span&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;span style="font-size:11px"&gt;at java.lang.Runtime.loadLibrary0(Unknown Source)&lt;/span&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;span style="font-size:11px"&gt;at java.lang.System.loadLibrary(Unknown Source)&lt;/span&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;span style="font-size:11px"&gt;at ionic.Msmq.Queue.&amp;lt;clinit&amp;gt;(&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;p align=left&gt;&lt;span style="text-decoration:underline"&gt;&lt;span style="font-size:13px;color:#000080"&gt;&lt;span style="font-size:11px"&gt;Queue.java:201&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px;color:#000080"&gt;&lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;&lt;span style="font-size:11px"&gt;)&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p align=left&gt;&lt;span style="font-size:11px"&gt;at TestClient.Open(&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;span style="text-decoration:underline"&gt;&lt;span style="font-size:13px;color:#000080"&gt;&lt;span style="font-size:11px"&gt;TestClient.java:136&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px;color:#000080"&gt;&lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;&lt;span style="font-size:11px"&gt;)&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p align=left&gt;&lt;span style="font-size:11px"&gt;at TestClient.Run(&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;span style="text-decoration:underline"&gt;&lt;span style="font-size:13px;color:#000080"&gt;&lt;span style="font-size:11px"&gt;TestClient.java:232)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px;color:#000080"&gt;&lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p align=left&gt;&lt;span style="font-size:11px"&gt;at TestClient.main(&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;span style="text-decoration:underline"&gt;&lt;span style="font-size:13px;color:#000080"&gt;&lt;span style="font-size:11px"&gt;TestClient.java:22&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px;color:#000080"&gt;&lt;/span&gt;&lt;span style="font-size:13px;color:#ff0000"&gt;&lt;span style="font-size:12px"&gt;&lt;span style="font-size:11px"&gt;)&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;span style="font-family:times new roman"&gt;I'm sure this is a very simple error, but I'm fairly new to programming in general and so I'm not exactly sure how to fix it.  I'm assuming I need to download JNIMSMQ.dll to a certain location.  If so, where is that?&lt;br&gt;
Any help would be greatly appreciated.&lt;br&gt;
Thanks.&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;/div&gt;</description><author>csgordon</author><pubDate>Mon, 09 Jun 2008 16:08:37 GMT</pubDate><guid isPermaLink="false">NEW POST: UnsatisfiedLinkError 20080609040837P</guid></item><item><title>Patch Uploaded</title><link>http://www.codeplex.com/MsmqJava/SourceControl/PatchList.aspx</link><description>
&lt;p&gt;&lt;a href='/site/users/view/intltechventures'&gt;intltechventures&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;I reorganzied the source code into separate directories for the C&amp;#35;, C&amp;#43;&amp;#43;, and Java code&amp;#59; created an Eclipse project &amp;#40;3.3. Europa&amp;#41;&amp;#59; refactored the build process to use an Ant-1.7 build.xml&amp;#59; and added an Ant task to automatically generate javadocs.&lt;br /&gt;&lt;br /&gt;I also modified TestClient.java so that you can now specify either a public queue - or a private queue name at the input prompt&amp;#58;&lt;br /&gt;&lt;br /&gt;E.g. &lt;br /&gt;&amp;#9;&amp;#9;&amp;#47;&amp;#47; return &amp;#34;DIRECT&amp;#61;&amp;#34; &amp;#43; a1 &amp;#43; &amp;#34;&amp;#58;&amp;#34; &amp;#43; h1 &amp;#43; &amp;#34;&amp;#92;&amp;#92;private&amp;#36;&amp;#92;&amp;#92;&amp;#34; &amp;#43; queueShortName&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;return &amp;#34;DIRECT&amp;#61;&amp;#34; &amp;#43; a1 &amp;#43; &amp;#34;&amp;#58;&amp;#34; &amp;#43; h1 &amp;#43; &amp;#34;&amp;#92;&amp;#92;&amp;#34; &amp;#43; queueShortName&amp;#59;&amp;#9;&amp;#9;&lt;br /&gt;&lt;br /&gt;For a private queue named myTest, you would specify private&amp;#36;&amp;#92;&amp;#92;myTest at the input prompt for the queue name.&lt;br /&gt;For a public queue, you would simply specify myTest.&lt;br /&gt;&lt;/p&gt;</description><author>intltechventures</author><pubDate>Sat, 10 May 2008 00:57:08 GMT</pubDate><guid isPermaLink="false">Patch Uploaded 20080510125708A</guid></item><item><title>CREATED ISSUE: need Unit Tests</title><link>http://www.codeplex.com/MsmqJava/WorkItem/View.aspx?WorkItemId=1101</link><description>There ought to be unit tests for MsmqJava.&lt;br /&gt;</description><author>Cheeso</author><pubDate>Wed, 06 Feb 2008 19:09:01 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: need Unit Tests 20080206070901P</guid></item></channel></rss>