ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » FTP File

Post new topic  Reply to topic
 FTP File « View previous topic :: View next topic » 
Author Message
broker_new
PostPosted: Fri Jun 20, 2008 6:25 pm    Post subject: FTP File Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

I have a pretty straight forward requirement.
My environment is WMB 6.0.3,WMQ 6.0.
MQInput>>>>>Compute>>>>>>JavaComputeNode(JCN).
1)In Compute Node i call a stored procedure and gets the records in the range of 1000 to 10000 and pass the XML message to JCN.
2)In JCN i have written a method to write the XML file into a file(File1.XML).
3)Iam trying to write a second class which picks the same file and FTP to a different Box.If anyone has done this please share the code.

and also iam interested in understanding the performance issues if we are doing a FTP using JCN because the file size may vary from 10MB to 20MB.
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
Gaya3
PostPosted: Sat Jun 21, 2008 12:41 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

In JCN you have to use Java API's to do any of the services.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
broker_new
PostPosted: Sat Jun 21, 2008 6:22 am    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

I have done it using the JCN(using FTP API).
Is there any way to invoke a script from Com
pute Node where the script executes the FTP commands.
(or) Is there any way to execute the FTP commands on AIX using ESQL
I have one idea but don't know that is the correct way of doing.
Setting the Application triggering whenever a message arrives into the output queue we can trigger the script where the script gets the message from the queue and writes into file and perform the FTP.
Iam trying to understand different ways of doing the things.
Defnetly using the JCN is simple and easy to log the errors.
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
vinbud117
PostPosted: Sat Jun 21, 2008 10:17 am    Post subject: Reply with quote

Acolyte

Joined: 22 Jul 2005
Posts: 61

you can use the FTP nodes, comes as a support pack for version 6.0.

In 6.1 FTP nodes comes with the product.
Back to top
View user's profile Send private message
broker_new
PostPosted: Sat Jun 21, 2008 3:23 pm    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

Is it..Thanks Vinbud117 for the reply could you post the support pac name.
I know that there is File extender which can do that but has the limitation that it cannot ftp to other ftp server and also we need to purchase it.
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
vinbud117
PostPosted: Sat Jun 21, 2008 9:34 pm    Post subject: Reply with quote

Acolyte

Joined: 22 Jul 2005
Posts: 61

http://www.mqseries.net/phpBB2/viewtopic.php?t=40860&view=next&sid=963b6e8c3d3530542db8de7919442720

Unfortunately, with this support pack you can put files only to the local directory. So, you may need to have another script which transfers it to the remote directory.

However, in 6.1 using the FileInput and FileOutput nodes you can read and write to remote directories.
Back to top
View user's profile Send private message
broker_new
PostPosted: Sun Jun 22, 2008 5:20 am    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

yes,I can understand.
Broker has lots of limitations until and unless we use Java Compute Node we cannot achieve some requirements.Sometimes our management tried to leverage Message Broker because of these as everything can be achieved by using Java,J2EE and why to go for Broker.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » FTP File
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.