<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Flex, Java Remoting, and JMS [null message body]</title>
	<atom:link href="http://www.joshuaostrom.com/2008/08/07/flex-java-remoting-and-jms-null-message-body/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joshuaostrom.com/2008/08/07/flex-java-remoting-and-jms-null-message-body/</link>
	<description>RIA, embedded programming, what else!</description>
	<lastBuildDate>Fri, 09 Jul 2010 15:43:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Greg</title>
		<link>http://www.joshuaostrom.com/2008/08/07/flex-java-remoting-and-jms-null-message-body/#comment-279</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 01 Apr 2009 20:12:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/07/flex-java-remoting-and-jms-null-message-body/#comment-279</guid>
		<description>I&#039;m getting the same error.
What I am trying to do is to send an object from the Flex to a Java receiver.
I have a couple of member variables all of type String and for each variable I have setter and getter. 
I compiled the java class (same name as the flex&#039;s class) and put it in the &quot;BlazeDS Flex java JMS bridge\tomcat\webapps\blazeds\WEB-INF\classes&quot;

This is what I&#039;m doing in Flex:

var msg:AsyncMessage = new AsyncMessage();
var log:LogInfo = new LogInfo();
log.setMessage(&quot;Something Happened&quot;);
log.setMethodname(&quot;Test Method Name&quot;);
msg.body = log;
publisher.send(msg);

I&#039;m getting the msg through however on the java side when I try to retrieve it:
flexLog = (LogInfo) objectMessage.getObject();
System.out.println(&quot;getMessage: &quot; + flexLog.getMessage());                   System.out.println(&quot;getMessage: &quot; + flexLog.getMethodname());

(Just printing it for now) ...ALL is NULL.
What am I doing wrong?
Any suggestion?
Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting the same error.<br />
What I am trying to do is to send an object from the Flex to a Java receiver.<br />
I have a couple of member variables all of type String and for each variable I have setter and getter.<br />
I compiled the java class (same name as the flex&#8217;s class) and put it in the &#8220;BlazeDS Flex java JMS bridge\tomcat\webapps\blazeds\WEB-INF\classes&#8221;</p>
<p>This is what I&#8217;m doing in Flex:</p>
<p>var msg:AsyncMessage = new AsyncMessage();<br />
var log:LogInfo = new LogInfo();<br />
log.setMessage(&#8220;Something Happened&#8221;);<br />
log.setMethodname(&#8220;Test Method Name&#8221;);<br />
msg.body = log;<br />
publisher.send(msg);</p>
<p>I&#8217;m getting the msg through however on the java side when I try to retrieve it:<br />
flexLog = (LogInfo) objectMessage.getObject();<br />
System.out.println(&#8220;getMessage: &#8221; + flexLog.getMessage());                   System.out.println(&#8220;getMessage: &#8221; + flexLog.getMethodname());</p>
<p>(Just printing it for now) &#8230;ALL is NULL.<br />
What am I doing wrong?<br />
Any suggestion?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://www.joshuaostrom.com/2008/08/07/flex-java-remoting-and-jms-null-message-body/#comment-272</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Thu, 26 Mar 2009 03:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/07/flex-java-remoting-and-jms-null-message-body/#comment-272</guid>
		<description>Doug,
  I haven&#039;t had a chance to work with the JMS/BlazeDS combo lately so I&#039;m afraid I don&#039;t have much insight off hand...

I&#039;d look at the logging options available and drill down from there.

Josh</description>
		<content:encoded><![CDATA[<p>Doug,<br />
  I haven&#8217;t had a chance to work with the JMS/BlazeDS combo lately so I&#8217;m afraid I don&#8217;t have much insight off hand&#8230;</p>
<p>I&#8217;d look at the logging options available and drill down from there.</p>
<p>Josh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug McCall</title>
		<link>http://www.joshuaostrom.com/2008/08/07/flex-java-remoting-and-jms-null-message-body/#comment-270</link>
		<dc:creator>Doug McCall</dc:creator>
		<pubDate>Tue, 24 Mar 2009 19:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.joshuaostrom.com/2008/08/07/flex-java-remoting-and-jms-null-message-body/#comment-270</guid>
		<description>I was curious if you&#039;ve ever experienced this:  If I don&#039;t include any of the java objects in the WEB-INF/classes folder, I can see that the messages from the ActiveMQ topics are at least attempting to make it through BlazeDS to the Flex client (I get the nice unable to convert JMS to Flex errors).  If I copy the java object in to the WEB-INF/classes folder, however, BlazeDS no longer shows any recognition of receiving messages from the ActiveMQ topics.  Unfortunately, the resources available for using JMS+ObjectMessages is practically non-existent beyond the BlazeDS configuration files :( .  I was wondering if you&#039;ve every experienced this or had any thoughts?</description>
		<content:encoded><![CDATA[<p>I was curious if you&#8217;ve ever experienced this:  If I don&#8217;t include any of the java objects in the WEB-INF/classes folder, I can see that the messages from the ActiveMQ topics are at least attempting to make it through BlazeDS to the Flex client (I get the nice unable to convert JMS to Flex errors).  If I copy the java object in to the WEB-INF/classes folder, however, BlazeDS no longer shows any recognition of receiving messages from the ActiveMQ topics.  Unfortunately, the resources available for using JMS+ObjectMessages is practically non-existent beyond the BlazeDS configuration files <img src='http://www.joshuaostrom.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  .  I was wondering if you&#8217;ve every experienced this or had any thoughts?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
