<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>MsmqJava Forum Rss Feed</title><link>http://www.codeplex.com/MsmqJava/Thread/List.aspx</link><description>MsmqJava Forum Rss Description</description><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>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></channel></rss>