[ 
https://issues.apache.org/jira/browse/QPID-1837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

William Henry updated QPID-1837:
--------------------------------

    Attachment: ft_example_4.tar.gz

This versio is better.

I've moved the setting up of the control queue into the ft_receive.py file and 
used the machine's host name in both the queue name and the binding. this 
allows for setting up queues on multiple machines.

Now the send machine can specify the host to send it to along with the file to 
be transfered. 

 

> File Transfer Example that demonstrates clients using multiple queues
> ---------------------------------------------------------------------
>
>                 Key: QPID-1837
>                 URL: https://issues.apache.org/jira/browse/QPID-1837
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Qpid Examples
>    Affects Versions: M4
>            Reporter: William Henry
>             Fix For: M4
>
>         Attachments: ft_example_4.tar.gz
>
>
> This example uses a control queue called ftp_queue to publish messages about 
> a file transfer. The actual file data is placed on a separate queue based on 
> the file name.  Consumers read the control/meta data from the control queue 
> including the filename and therefore the file's queue name.  The consumer 
> then reads the file and writes the file into a specified directory.
> declare_queue.py declares the control queue.  ft_send and ft_receive both use 
> the FileTransfer.py file which contains the send and receive methods. 
> [It's late if this description needs to be more detailed let me know.]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to