INTSAMPLES-119 Update Monitor for Twitter OAuth
Twitter now requires authentication. Disable the real twitter adapter by default; enable it with spring.profile "twitter" - requires the user to get real oauth tokens. Replicate oauth setup instructions from the twitter sample. Add note to README for enabling the real twitter adapter. Add .gitignore so committers can keep their real credentials in, say, 'oauth.properties.foo'. Add note about `SpringIntegrationTest`. Update dummy tweets to use new icon. INTSAMPLES-119 Polishing - Fix 'twitterTemplate' bean name - Add content to log and JMX Notification JIRA: https://jira.springsource.org/browse/INTSAMPLES-119
This commit is contained in:
committed by
Artem Bilan
parent
630d1cf009
commit
e190c160f1
@@ -9,6 +9,14 @@
|
||||
<param-value>classpath:META-INF/spring/integration/spring-integration-context.xml</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- uncomment this if you want to use real twitter and have set oauth keys -->
|
||||
<!--
|
||||
<context-param>
|
||||
<param-name>spring.profiles.active</param-name>
|
||||
<param-value>twitter</param-value>
|
||||
</context-param>
|
||||
-->
|
||||
|
||||
<!-- Creates the Spring Container shared by all Servlets and Filters -->
|
||||
<listener>
|
||||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
||||
|
||||
Reference in New Issue
Block a user