Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Twilio Exception #253

@GautierFR

Description

@GautierFR

Hi,

I'm having a problem with the Twilio implementation. I created a trial account and retrieved the connection information.
In dests.ini, I configured it with my account information:

[twilio_sms]
type=twilio
componentOptions.sid=mySid
componentOptions.token=myToken
to=+336yyy
from=+1xxx

When I start Manzan, I get the following errors and Manzan stops.

[ main] AbstractCamelContext ERROR Error starting CamelContext (camel-1) due to exception thrown: Failed to start component twilio because of Unable to initialise Twilio, Twilio component configuration is missing
org.apache.camel.FailedToStartComponentException: Failed to start component twilio because of Unable to initialise Twilio, Twilio component configuration is missing
at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:3208) ~[manzan.jar:?]
at org.apache.camel.impl.engine.AbstractCamelContext.doStartContext(AbstractCamelContext.java:2952) ~[manzan.jar:?]
at org.apache.camel.impl.engine.AbstractCamelContext.doStart(AbstractCamelContext.java:2903) ~[manzan.jar:?]
at org.apache.camel.support.service.BaseService.start(BaseService.java:119) ~[manzan.jar:?]
at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2587) ~[manzan.jar:?]
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:253) ~[manzan.jar:?]
at com.github.theprez.manzan.ManzanMainApp.main(ManzanMainApp.java:77) ~[manzan.jar:?]
Caused by: java.lang.IllegalStateException: Unable to initialise Twilio, Twilio component configuration is missing
at org.apache.camel.component.twilio.TwilioComponent.doStart(TwilioComponent.java:71) ~[manzan.jar:?]
at org.apache.camel.support.service.BaseService.start(BaseService.java:119) ~[manzan.jar:?]
at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113) ~[manzan.jar:?]
at org.apache.camel.impl.engine.AbstractCamelContext.startService(AbstractCamelContext.java:3600) ~[manzan.jar:?]
at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:3206) ~[manzan.jar:?]

What I'm doing wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions