Skip to main content
Question

An "anything" writer for streaming ?

  • July 23, 2020
  • 3 replies
  • 12 views

lifalin2016
Supporter
Forum|alt.badge.img+38

Hi.

I'm looking into the streaming capabilities of FME Server, and is wondering whether a workspace may return more than one type of information as a streaming service.

Streaming requires designating one writer in the workspace to be the streaming output, but that also limits the output to a single format. If your workspace is capable of outputting multiple formats, this seems to be a no-go in a streaming context.

Does an "anything-writer" exist, that'll just pass anything on, textual or binary, as-is to the output ?

Or alternatively, can a workspace switch the streaming target writer on-the-fly based on some condition at runtime ?

Cheers.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • July 23, 2020

There's the Generic writer, it sounds like that would do what you want.


lifalin2016
Supporter
Forum|alt.badge.img+38
  • Author
  • Supporter
  • 592 replies
  • July 23, 2020

There's the Generic writer, it sounds like that would do what you want.

Thanks red.

The naming gets me every time. "Generic" didn't occur to me.

But it seems that even the Generic writer needs an output format and a fixed MIME type for the output ?

I'm looking for a something more flexible than that.

/Lars


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • July 23, 2020

Thanks red.

The naming gets me every time. "Generic" didn't occur to me.

But it seems that even the Generic writer needs an output format and a fixed MIME type for the output ?

I'm looking for a something more flexible than that.

/Lars

Yes, you do need to specify an output format when writing, and it has to be something a browser can handle of course. Check out the Advanced Readers and Writers section of the FME Desktop Advanced training course, it covers these kinds of translations.