クラス FeedEntryMessageSource
java.lang.ObjectSE
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.endpoint.AbstractMessageSource<com.rometools.rome.feed.synd.SyndEntry>
org.springframework.integration.feed.inbound.FeedEntryMessageSource
- 実装されたすべてのインターフェース:
Aware
、BeanFactoryAware
、BeanNameAware
、DisposableBean
、InitializingBean
、MessageSource<com.rometools.rome.feed.synd.SyndEntry>
、IntegrationPattern
、NamedComponent
、IntegrationInboundManagement
、IntegrationManagement
public class FeedEntryMessageSource
extends AbstractMessageSource<com.rometools.rome.feed.synd.SyndEntry>
MessageSource
のこの実装は、'feedUrl' 属性で識別されるフィードの個々の SyndEntry
を生成します。- 導入:
- 2.0
- 作成者:
- Josh Long, Mario Gray, Oleg Zhurakousky, Artem Bilan, Aaron Loes, Christian Tzolov
ネストされたクラスのサマリー
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverrides
フィールドのサマリー
クラス org.springframework.integration.util.AbstractExpressionEvaluator から継承されたフィールド
EXPRESSION_PARSER, logger
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
コンストラクターの概要
コンストラクターコンストラクター説明FeedEntryMessageSource
(URLSE feedUrl, StringSE metadataKey) HttpURLFeedFetcher を使用して指定された URL からフィードを読み取る FeedEntryMessageSource を作成します。FeedEntryMessageSource
(Resource feedResource, StringSE metadataKey) 指定されたResource
からフィードを読み取る FeedEntryMessageSource を作成します。メソッドのサマリー
修飾子と型メソッド説明protected com.rometools.rome.feed.synd.SyndEntry
サブクラスはこのメソッドを実装する必要があります。protected void
onInit()
void
setMetadataStore
(MetadataStore metadataStore) void
setPreserveWireFeed
(boolean preserveWireFeed) WireFeed
をターゲットSyndFeed
に保持する必要があるかどうかを示すフラグを指定します。void
setSyndFeedInput
(com.rometools.rome.io.SyndFeedInput syndFeedInput) フィード XML ドキュメントのパーサーを指定します。toString()
クラス org.springframework.integration.endpoint.AbstractMessageSource から継承されたメソッド
buildMessage, destroy, getBeanName, getComponentName, getManagedName, getManagedType, getOverrides, isLoggingEnabled, receive, registerMetricsCaptor, setBeanName, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedType
クラス org.springframework.integration.util.AbstractExpressionEvaluator から継承されたメソッド
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService, setSimpleEvaluationContext
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたメソッド
getThisAs, isObserved, registerObservationRegistry
インターフェース org.springframework.integration.core.MessageSource から継承されたメソッド
getIntegrationPatternType
コンストラクターの詳細
FeedEntryMessageSource
FeedEntryMessageSource
メソッドの詳細
setMetadataStore
setSyndFeedInput
public void setSyndFeedInput(com.rometools.rome.io.SyndFeedInput syndFeedInput) フィード XML ドキュメントのパーサーを指定します。- パラメーター:
syndFeedInput
- 使用するSyndFeedInput
。- 導入:
- 5.0
setPreserveWireFeed
public void setPreserveWireFeed(boolean preserveWireFeed) WireFeed
をターゲットSyndFeed
に保持する必要があるかどうかを示すフラグを指定します。- パラメーター:
preserveWireFeed
-boolean
フラグ。- 導入:
- 5.0
- 関連事項:
getComponentType
onInit
protected void onInit()- オーバーライド:
- クラス
AbstractExpressionEvaluator
のonInit
doReceive
protected com.rometools.rome.feed.synd.SyndEntry doReceive()クラスからコピーされた説明:AbstractMessageSource
サブクラスはこのメソッドを実装する必要があります。通常、戻り値は T 型のpayload
ですが、戻り値はペイロードが T 型のMessage
インスタンスでもかまいません。追加のヘッダーの作成に使用されるAbstractIntegrationMessageBuilder
にすることもできます。- 次で指定:
- クラス
AbstractMessageSource<com.rometools.rome.feed.synd.SyndEntry>
のdoReceive
- 戻り値:
- 返された値。
toString