You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Smruti <sm...@i-logicon.co.in> on 2008/04/29 13:08:05 UTC

Archival Of Messages

Hi ,
I am using servicemix JMS component, Point to Point protocol.

Actually the problem is I am getting the data in form of XML and after
parsing that file it gets destroyed. Is there any way to archive those data
means any configurations on servicemix/activeMQ side ? 

Please reply me ASAP.

Regards,
Smruti
-- 
View this message in context: http://www.nabble.com/Archival-Of-Messages-tp16958064p16958064.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Archival Of Messages

Posted by Bruce Snyder <br...@gmail.com>.
On Tue, Apr 29, 2008 at 5:08 AM, Smruti <sm...@i-logicon.co.in> wrote:
>
>  Hi ,
>  I am using servicemix JMS component, Point to Point protocol.
>
>  Actually the problem is I am getting the data in form of XML and after
>  parsing that file it gets destroyed. Is there any way to archive those data
>  means any configurations on servicemix/activeMQ side ?

Typically when you need to store the messages, I recommend using the
servicemix-eip component to configure the wiretap pattern so you can
send a copy of each message to an endpoint that will persist to a
database or some storage mechanism. In the past I've used a custom
POJO to persist all message exchanges or just the normalized messages
to a database via the servicemix-bean component. But nowadays I'd
recommend using the servicemix-camel component (specifically the
camel-jpa component) so you can easily persist the messages to a
database using JPA.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/