Hi,
You already have a servicemix-smpp snapshot dating from yesterday:
https://repository.apache.org/content/groups/snapshots-group/org/apache/servicemix/servicemix-smpp/2009.02-SNAPSHOT/
The snapshots are built every night.
Take a look into the repository location and you should be able to find
installer.zip and jar file of the SMPP component snapshot.
Regards
JB
Sanazj wrote:
Hi JB,
Thanks for pointing that out, I'm now able to do update and read from MySql
table.
I was wondering if you have a time estimate of when the SMPP snapshot will
be built and ready to use.
Thanks in advance,
Sanaz
Jean-Baptiste Onofré wrote:
Hi,
You got a NullPointerException when trying to transform the in message
content into a SQL query.
I think that the in message is null (or the content of the message is
null).
Could you add some logs around the line 78 of the bean ? I guess that
the NullPointerException is raised by message.getContent() statement.
Nota: I know that you're working with the SMPP component. I have
corrected a bug yesterday where the SMPP consumer endpoint didn't really
send the exchange. I advice you to use the 2009.02-SNAPSHOT SMPP
component as soon as the snapshot had been built.
Be careful, the message content has to be compliant with that the bean
expects. The bean is waiting for a message content that contains a tag
<query/>.
Regards
JB
Sanazj wrote:
Hi,
I'm fairly new to Service-Mix and been trying to use service-mix to
update a
MySql datatbase. I have been trying to do a sample MySql query from a
servicemix bean that I have created using the code that posted online
here:
http://svn.apache.org/repos/asf/servicemix/smx3/trunk/samples/database-bean/
I have been unable to do a simple query, and attached you can all the
files
I'm using as well as the log file with the error messages that I get. The
attached files are mu camel-su java source and camel-context, my bean-su
java source and xbean file. In addition I have also attached my
service-mix
log file.
I would greatly appreciate it if you could have a look and let me know
what
I'm doing wrong,
Sanaz
http://www.nabble.com/file/p25813908/DatabaseQueryBean.java
DatabaseQueryBean.java
http://www.nabble.com/file/p25813908/MyRouteBuilder.java
MyRouteBuilder.java
http://www.nabble.com/file/p25813908/camel-context.xml camel-context.xml
http://www.nabble.com/file/p25813908/xbean.xml xbean.xml
http://www.nabble.com/file/p25813908/servicemix.log servicemix.log